Demographic Info
Description​
Let you validate demographic information based on the CUIL
HTTP method GET​
Endpoint​
http://apidev3.mslainternational.com/lexisnexis/api/idv-govcheck/v1/demographic-Info
Request header parameter​
NAME | REQUIRED | TYPE | DESCRIPTION |
---|---|---|---|
Authorization | ✅ | string | bearer jwt token |
URI request parameter​
NAME | REQUIRED | TYPE | DESCRIPTION |
---|---|---|---|
Country | ✅ | string | Argentina |
CUIL | ✅ | string | Argentina labor identification number |
Status code responses​
Code | Description |
---|---|
200 | OK |
400 | Bad request |
401 | Unauthorized |
404 | Not found |
500 | Internal server error. |
The full documentation error codes can be found here.
Response 200 status code​
{
"traceId": "34372f63ac42d547",
"timestamp": "2024-10-17 12:04:00",
"data": {
"errorMessage": null,
"errorCode": null,
"lastName": "Gonzales",
"Names": "Carlos Alberto",
"Completenames": "Carlos Alberto Gonzales",
"dniNumber": "12345678",
"cuil": "20-12345678-9",
"idtype": "DNI",
"nationality": "Argentino",
"year": "1967",
"dateofbirth": "1967-10-05",
"deceased_date": null,
"age": "56",
"gender": "M",
"marital_status": "Soltero",
"observations": null,
"Location": "Buenos Aires",
"Province": "Buenos Aires",
"Postal_code": "C1000ABC",
"Address": "Av. Corrientes",
"Street_address": "Av. Corrientes",
"Street_number": "1234",
"Floor/Apt number": "5A"
}
}
Response 404 status code​
{
"traceId": "542fc743fffda052",
"timestamp": "2023-05-05 11:20:46",
"code": "IDV-3001",
"message": "Data not found"
}
Response 400 status code​
{
"traceId": "542fc743fffda052",
"timestamp": "2023-05-05 11:20:46",
"code": "IDV-3001",
"message": "Bad request - Invalid or incomplete input data",
"data": null
}
Response 500 status code​
{
"traceId": "43a20f33d4e8730d",
"timestamp": "yyyy-mm-dd HH:MM:SS",
"code": "IDV-1008",
"message": "Error in the source of origin, please contact an administration."
}