CURL POST JSON
curl -X POST -H "Content-Type: application/json" \
-d '{"username":"abc","password":"abc"}' \
https://api.example.com/v2/login
Poised Pheasant
curl -X POST -H "Content-Type: application/json" \
-d '{"username":"abc","password":"abc"}' \
https://api.example.com/v2/login
{
"name": "Cadastro de Cedente",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "e425208a-ccc2-11ec-9d64-0242ac120002",
"type": "text"
},
{
"key": "partner",
"value": "5836c361-6414-49e9-9963-7eed5b58000e",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n\t\"numero_documento\": \"036.820.029-95\",\r\n\t\"tipo_documento\": \"CNPJ\",\r\n\t\"tipo_pessoa\": \"F\",\r\n\t\"nome\": \"Adriano Zawadzki\",\r\n\t\"data_abertura\": \"1980-07-27T00:00:00\",\r\n\t\"natureza_juridica\": \"204-6\",\r\n\t\"telefone\": 47997851239,\r\n\t\"email\": \"[email protected]\",\r\n\t\"data_cadastro\": \"2017-09-08T00:00:00\",\r\n\t\"endereco\": {\r\n\t\t\"logradouro\": \"Rua República Argentina\",\r\n\t\t\"numero\": 23,\r\n\t\t\"complemento\": null,\r\n\t\t\"bairro\": \"Ponta Aguda\",\r\n\t\t\"cidade\": \"BLUMENAU\",\r\n\t\t\"uf\": \"SC\",\r\n\t\t\"cep\": \"89050100\"\r\n\t},\r\n\t\"contas_bancarias\": [\r\n\t\t{\r\n\t\t\t\"conta_principal\": \"S\",\r\n\t\t\t\"tipo\": \"1\",\r\n\t\t\t\"codigo_banco\": 756,\r\n\t\t\t\"agencia\": 33050,\r\n\t\t\t\"agencia_dv\": 0,\r\n\t\t\t\"conta\": 989,\r\n\t\t\t\"conta_dv\": 9\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"conta_principal\": \"S\",\r\n\t\t\t\"tipo\": \"1\",\r\n\t\t\t\"codigo_banco\": 104,\r\n\t\t\t\"agencia\": 389,\r\n\t\t\t\"agencia_dv\": 0,\r\n\t\t\t\"conta\": 447344,\r\n\t\t\t\"conta_dv\": 0\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"conta_principal\": \"S\",\r\n\t\t\t\"tipo\": \"1\",\r\n\t\t\t\"codigo_banco\": 341,\r\n\t\t\t\"agencia\": 7017,\r\n\t\t\t\"agencia_dv\": 0,\r\n\t\t\t\"conta\": 21507,\r\n\t\t\t\"conta_dv\": 0\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"conta_principal\": \"S\",\r\n\t\t\t\"tipo\": \"1\",\r\n\t\t\t\"codigo_banco\": 341,\r\n\t\t\t\"agencia\": 7017,\r\n\t\t\t\"agencia_dv\": 0,\r\n\t\t\t\"conta\": 21507,\r\n\t\t\t\"conta_dv\": 0\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"conta_principal\": \"S\",\r\n\t\t\t\"tipo\": \"1\",\r\n\t\t\t\"codigo_banco\": 341,\r\n\t\t\t\"agencia\": 3857,\r\n\t\t\t\"agencia_dv\": 0,\r\n\t\t\t\"conta\": 297380,\r\n\t\t\t\"conta_dv\": 0\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"conta_principal\": \"S\",\r\n\t\t\t\"tipo\": \"1\",\r\n\t\t\t\"codigo_banco\": 756,\r\n\t\t\t\"agencia\": 33057,\r\n\t\t\t\"agencia_dv\": 7,\r\n\t\t\t\"conta\": 399,\r\n\t\t\t\"conta_dv\": 9\r\n\t\t}\r\n\t],\r\n\t\"documentos\": [\r\n\t\t{\r\n\t\t\t\"tipo_documento\": \"Codigo_ConfirmacaoCelular\",\r\n\t\t\t\"numero_documento\": \"036.820.029-95\"\r\n\t\t}\r\n\t],\r\n\t\"representantes\": null,\r\n\t\"cadastro\": null,\r\n\t\"documentos_s3\": null\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://datawall.sandbox.captalysplatform.io/cedente/cadastro",
"protocol": "https",
"host": [
"datawall",
"sandbox",
"captalysplatform",
"io"
],
"path": [
"cedente",
"cadastro"
]
}
},
}