Skip to main content

Additional Attributes

You can send additional attributes in the JSON of the service consumption.

usuarioAppPropietaria

{
"datoConsultar":"19123402",
"tipoDocumento":"cc",
"usuarioAppPropietaria":"Pedro Perez Martínez"
}
FieldTypeDescription
usuarioAppPropietariaStringIdentifies the user who made the request from the system consuming the web service. In the alert email, it will appear as “User Application Company”.

fechaExpedicion

{
"datoConsultar":"19123402",
"tipoDocumento":"cc",
"fechaExpedicion":"12/11/1990"
}
FieldTypeDescription
fechaExpedicionStringTo consult sources that require document issue date, this attribute must be added in dd/MM/yyyy format.

Automatically Added as Counterparty

{
"datoConsultar":"19123402",
"tipoDocumento":"cc",
"tipoContraparte":"EMPLEADO",
"pais":"COLOMBIA",
"ciudad":"BOGOTA",
"direccion":"kr 123 #15B - 35",
"email":"xxxx@xx.com",
"telefono":"3001234567",
"tipoRelacion":"CONTRATISTA",
"relacionadoCon": "900788788"
}
FieldTypeDescriptionRequired
tipoContraparteStringType of relationship with the counterpartyMandatory
paisStringCountry of residence of the counterpartyMandatory
ciudadStringCity of residence of the counterpartyOptional
direccionStringAddress of the counterpartyOptional
emailStringEmail of the counterpartyOptional
telefonoStringPhone number of the counterpartyOptional
tipoRelacionStringType of relationship with the counterpartyOptional
relacionadoConStringData the counterparty is related toOptional

Important: To enable this feature, you must request your assigned commercial analyst to activate the option to add counterparties via Web Services for your company. If the option is not enabled, the counterparty will not be automatically registered in the query.

Quick Mode Query

{
"datoConsultar":"19123402",
"tipoDocumento":"cc",
"modoRapido":true
}
FieldTypeDescription
modoRapidoBooleanParameter to indicate that data should be retrieved from cache.

In some scenarios, response time is very important. You can include the modoRapido attribute in the request to skip name lookup in sources and retrieve it from the cache.

If the name is not found in the cache, the response will indicate the name was not found.

Note: It is important to highlight that we have a name cache containing more than 40,000,000 records for Colombia.

Important: In the case of countries other than Colombia, it is recommended to set the fast mode to false, since there are currently not enough names stored in the cache.