POST PFPJ/ConsultaInformacaoGeodesica
A consulta, a partir de um CEP, retorna distâncias geodésicas.
Request Information
URI Parameters
None.
Body Parameters
TransUnion.Consultas.DTO.Parametros.APIBaseEstatica.ParametrosEntradaCEP| Name | Description | Type | Additional information |
|---|---|---|---|
| Token | string |
None. |
|
| CEP | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Token": "sample string 1",
"CEP": "sample string 2"
}
application/xml, text/xml
Sample:
<ParametrosEntradaCEP xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="BaseEstatica.API"> <CEP>sample string 2</CEP> <Token>sample string 1</Token> </ParametrosEntradaCEP>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TransUnion.Consultas.DTO.Retorno.InformacaoGeodesica| Name | Description | Type | Additional information |
|---|---|---|---|
| NR_LATITUDE | decimal number |
None. |
|
| NR_LONGITUDE | decimal number |
None. |
|
| NR_DISTANCIA_CENTRO | decimal number |
None. |
|
| ID_AUX_CLASSIFICACAO_POPULACIONAL | integer |
None. |
|
| NR_DISTANCIA_RISCO | decimal number |
None. |
|
| DT_RECENCIA | date |
None. |
|
| ERRO | TransUnion.Common.DTO.Erro |
None. |
Response Formats
application/json, text/json
Sample:
{
"NR_LATITUDE": 1.1,
"NR_LONGITUDE": 1.1,
"NR_DISTANCIA_CENTRO": 1.1,
"ID_AUX_CLASSIFICACAO_POPULACIONAL": 1,
"NR_DISTANCIA_RISCO": 1.1,
"DT_RECENCIA": "2026-06-18T04:31:11.862024-03:00",
"ERRO": {
"CODIGO": 1,
"MENSAGEM": "sample string 3"
}
}
application/xml, text/xml
Sample:
<INFORMACAO_GEODESICA xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="API.ZipOnline">
<ERRO xmlns="TransUnion.API">
<CODIGO>1</CODIGO>
<MENSAGEM>sample string 3</MENSAGEM>
</ERRO>
<DT_RECENCIA>2026-06-18T04:31:11.862024-03:00</DT_RECENCIA>
<ID_AUX_CLASSIFICACAO_POPULACIONAL>1</ID_AUX_CLASSIFICACAO_POPULACIONAL>
<NR_DISTANCIA_CENTRO>1.1</NR_DISTANCIA_CENTRO>
<NR_DISTANCIA_RISCO>1.1</NR_DISTANCIA_RISCO>
<NR_LATITUDE>1.1</NR_LATITUDE>
<NR_LONGITUDE>1.1</NR_LONGITUDE>
</INFORMACAO_GEODESICA>