Se puede consultar todos los tipos de identificación creados hasta el momento mediante el método getIdentificationTypes
Parámetro | Valor |
---|---|
Nombre servicio | getIdentificationTypes |
Tipo método | POST |
URL | https://gorgeous-dust-0seusmuxapkp.vapor-farm-b1.com/api/auth/ admin/configurations/identificationTypes/getIdentificationTypes |
Content type | application/json |
POST/getIdentificationTypes
...
{
"status": {
"code": 200,
"message": "Procesado con éxito",
"data": {
"current_page": 1,
"data": [
{
"id": 34,
"code_identification_type": 13,
"name_identification_type": "Cédula",
"status_identification_type": 1
},
{
"id": 36,
"code_identification_type": 22,
"name_identification_type": "Cédula de Extranjería",
"status_identification_type": 1
},
{
"id": 40,
"code_identification_type": 42,
"name_identification_type": "Documento de Identificación Extranjero",
"status_identification_type": 1
},
{
"id": 42,
"code_identification_type": 44,
"name_identification_type": "Documento de Identificación Extranjeros Persona Jurídica",
"status_identification_type": 1
},
{
"id": 39,
"code_identification_type": 33,
"name_identification_type": "Identificación Extranjeros Diferente a NIT Asignado DIAN",
"status_identification_type": 1
},
{
"id": 37,
"code_identification_type": 31,
"name_identification_type": "NIT",
"status_identification_type": 1
},
{
"id": 38,
"code_identification_type": 41,
"name_identification_type": "Pasaporte",
"status_identification_type": 1
},
{
"id": 41,
"code_identification_type": 43,
"name_identification_type": "Sin Identificación del Exterior o para Uso Definido DIAN",
"status_identification_type": 1
},
{
"id": 35,
"code_identification_type": 21,
"name_identification_type": "Tarjeta de Extranjería",
"status_identification_type": 1
}
],
"first_page_url": "https://gorgeous-dust-0seusmuxapkp.vapor-farm-b1.com/api/auth/admin/configurations/identificationTypes/getIdentificationTypes?page=1%22,
"from": 1,
"last_page": 1,
"last_page_url": "https://gorgeous-dust-0seusmuxapkp.vapor-farm-b1.com/api/auth/admin/configurations/identificationTypes/getIdentificationTypes?page=1%22,
"links": [
{
"url": null,
"label": "« Anterior",
"active": false
},
{
"url": "https://gorgeous-dust-0seusmuxapkp.vapor-farm-b1.com/api/auth/admin/configurations/identificationTypes/getIdentificationTypes?page=1%22,
"label": "1",
"active": true
},
{
"url": null,
"label": "Siguiente »",
"active": false
}
],
"next_page_url": null,
"path": "https://gorgeous-dust-0seusmuxapkp.vapor-farm-b1.com/api/auth/admin/configurations/identificationTypes/getIdentificationTypes%22,
"per_page": 25,
"prev_page_url": null,
"to": 9,
"total": 9
}
}
}}
O consultar la tablas paramétricas de la DIAN y enviar el campo de código.
Código | Nombre |
---|---|
13 | Cédula de Ciudadanía |
21 | Tarjeta de Extranjería |
22 | Cédula de Extranjería |
31 | NIT |
41 | Pasaporte |
33 | Identificación Extranjeros Diferente a NIT Asignado DIAN |
42 | Documento de Identificación Extranjero |
43 | Sin Identificación del Exterior o para Uso Definido DIAN |
44 | Documento de Identificación Extranjeros Persona Jurídica |