Service Consumption
Once the authentication token is generated, one of the following endpoints must be called using the POST method. The token must be sent in the headers as:
Authorization: Bearer **token**
🔗 Available Endpoints
- Results with risk only:: POSThttp://localhost:8080/ValidadorDatainnova/ws/ConsultaConsolidadaService/consultaConsolidada/soloRiesgo/true
- All results: POSThttp://localhost:8080/ValidadorDatainnova/ws/ConsultaConsolidadaService/consultaConsolidada/soloRiesgo/false
📦 JSON Structure
{
"tipoDocumento": "cc",
"datoConsultar": "19123402",
"nombre":"PABLO JOSE PEREZ PEREZ",
"codigoPais": "COL"
}
| Valor | Tipo | Descripción | Requerido |
|---|---|---|---|
| datoConsultar | String | Data to query | Mandatory |
| tipoDocumento | String | Format of the document type to query, refer to the document types guide for more information | Mandatory |
| codigoPais | String | Format of the country code to query, based on the ISO 3166-1 Alpha-3 format. Refer to the Countries guide for more information | Mandatory |
| nombre | String | Name or business name of the data to query, note that this field is optional depending on whether it's required for the country and document type. See the document types section for more details | Optional |
You can add optional attributes to customize or enrich the query. We will review these in the next section.
⏱️ Limite de Requisições (Rate Limit)
Rate Limit
O serviço permite no máximo 4 requisições por segundo. Caso esse limite seja excedido, o servidor responderá com o erro 429 Too Many Requests.
⌛ Tempo Máximo de Espera
info
O tempo máximo de espera do serviço é de 420 segundos. Se a consulta ultrapassar esse tempo, o servidor retornará um erro 504 Gateway Timeout.