Skip to content

Instantly share code, notes, and snippets.

@davixz
Created February 24, 2021 13:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davixz/0fe7ef1f5d360e89eb9c5c246f165197 to your computer and use it in GitHub Desktop.
Save davixz/0fe7ef1f5d360e89eb9c5c246f165197 to your computer and use it in GitHub Desktop.
{
"request": {
"headers": [
"Content-Type: application/json"
],
"url": "/CreateUpdatePessoa",
"method": "POST",
"timeout_connect": 8,
"timeout": 16,
"post_data": {
"dto": {
"Nome": "Davidx Azevedo",
"DocumentoFederal": "",
"IdentificadorEmpresaERP": "",
"CodigoAtividadeProfissional": 0,
"TextoInfoHistCliente": "",
"Score": "",
"Rating": "",
"PF": {
"Apelido": "",
"RG": "MG14328917",
"RGOrgao": "SSPx",
"RGUF": "MG",
"RGData": "1986-02-16T00:00:00.000Z",
"DtNasc": "1987-02-16T00:00:00.000Z",
"Sexo": "F",
"Nacionalidade": "",
"NaturalDeCidade": "",
"NaturalDeUF": "",
"EstadoCivil": 0,
"Escolaridade": 0,
"TipoOcupacao": 0,
"OutrasRendas": "",
"VlrOutrasRendas": 0,
"NomePai": "",
"TelefonePai": "",
"EmailPai": "",
"NomeMae": "Sueli Alves Correax",
"TelefoneMae": "",
"EmailMae": "",
"NomeConjuge": "",
"DtNascConjuge": "",
"TelefoneFixoConjuge": "",
"TelefoneCelularConjuge": "",
"EmailConjuge": "",
"TempoCasadoConjuge": 0,
"CPFConjuge": "",
"RGConjuge": "",
"RGOrgaoConjuge": "",
"RGUFConjuge": "",
"RGDataConjuge": "",
"MostrarConjugeCCB": true,
"FielDepositario": true,
"TerceiroGarantidor": true
},
"PessoaDadosContato": {
"Email": "davixz@gmail.com",
"TelefoneFixo1": "",
"TelefoneFixo2": "",
"TelefoneCelular1": "(32) 98820-1432",
"TelefoneCelular2": "",
"TelefoneFax": "",
"PaginaWeb": ""
}
},
"auth": {
"Usuario": "guilherme.moura@2taps.com.br",
"Senha": "2taps!2021",
"CodigoParametro": "2TAPS_CDC",
"Chave": "c6b801eb-37df-48b3-8e4d-40ffa62725a0"
}
}
},
"response": {
"body": {
"Message": "The request entity's media type 'multipart/form-data' is not supported for this resource."
},
"status": 415,
"errors": [
{
"message": "The request entity's media type 'multipart/form-data' is not supported for this resource."
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment