Skip to main content

Demographic Info

Description​

Let you validate demographic information based on the CUIL

HTTP method GET​

Endpoint​

https://8ehec73psb.execute-api.us-west-2.amazonaws.com/uat/identity/api/idv-govcheck/v1/ar-identity/{CUIL}/demographic-info

Request header parameter​

NAMEREQUIREDTYPEDESCRIPTION
Authorization✅stringbearer jwt token

URI request parameter​

NAMEREQUIREDTYPEDESCRIPTION
CUIL number✅stringArgentina labor identification number

Status code responses​

CodeDescription
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": "b2345cfc7bee621e",
"timestamp": "2023-05-15 11:59:35",
"data": {
"lastName": "Gonzales",
"Names": "Carlos Alberto",
"Completenames": "Carlos Alberto Gonzales",
"dniNumber": "00000000",
"cuil": "00000000000",
"idtype": "DNI",
"nationality": "Argentino",
"year": "1967",
"dateofbirth": "1967-10-05",
"deceased_date": "null",
"age": "56",
"gender": "M",
"marital_status": "Soltero",
"observations": "null",
"Location": "string",
"Province": "string",
"Postal_code": "string",
"Address": "string",
"Street_address": "string",
"Street_number": "string",
"Floor/Apt number": "string"
}
}

Response 400 status code​

{
"traceId": "542fc743fffda052",
"timestamp": "2023-05-05 11:20:46",
"code": "IDV-4005",
"message": "-",
"data": null
}

Response 401 status code​

{
"timestamp": "YYYY-MM-DDTHH:mm:ss.sssZ",
"status": 401,
"error": "Unauthorized",
"path": "/api/idv-govcheck/v1/ar-identity/{CUIL}/demographic-info"
}

Response 500 status code​

{
"traceId": "43a20f33d4e8730d",
"timestamp": "yyyy-mm-dd HH:MM:SS",
"code": "IDV-1001",
"message": "A generic error has occurred.",
"data": null
}