The Police RNMC service allows you to verify whether an individual has any pending corrective measures. By providing the individual's name, document type, document number, and the date of verification, you can obtain details about any corrective measures pending.
This service helps ensure that individuals comply with corrective measures and supports informed decision-making based on their compliance status.
Name | Type | ¿Required? | Description | Example |
---|---|---|---|---|
documentType | String | True |
Document type. Valid parameters: CC, CE. | CC |
documentNumber | String | True |
Document number of the person to consult, without spaces or points. | 123456789 |
date | String | True |
Expedition date of the document. Valid format: DD/MM/YYYY. | 10/10/2020 |
import axios from 'axios';
const options = {
method: 'GET',
url: '<https://api.verifik.co/v2/co/policia/rnmc>',
params: {
documentType: 'CC',
documentNumber: '123456789',
date: '10/10/2020'
},
headers: {
Accept: 'application/json',
Authorization: 'jwt <tu_token>'
}
};
try {
notFou const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
{
"data": {
"arrayName": [
"MATEO",
"VERIFIK"
],
"correctiveMeasures": [
{
"attribution": "INSPECTOR DE POLICÍA",
"address": "KR 12 26 25",
"status": "IMPONER O RATIFICAR MEDIDA",
"measure": "Multa General Tipo 2",
"referredTo": "INSPECCION PERMANENTE TURNO 3"
}
],
"date": "22/07/2005",
"documentNumber": "123456789",
"documentType": "CC",
"firstName": "MATEO",
"fullName": "MATEO VERIFIK",
"lastName": "VERIFIK",
"records": [
{
"date": "16/12/2023 01:46:37 p. m.",
"department": "CALDAS",
"file": "17-001-6-2023-20697",
"format": "002",
"identification": "123456789",
"municipality": "MANIZALES",
"offender": "MATEO VERIFIK"
},
{
"date": "06/06/2022 05:33:02 p. m.",
"department": "CALDAS",
"file": "17-001-6-2022-13948",
"format": "002",
"identification": "123456789",
"municipality": "MANIZALES",
"offender": "MATEO VERIFIK"
},
{
"date": "25/02/2022 11:09:17 a. m.",
"department": "CALDAS",
"file": "17-001-6-2022-5921",
"format": "002",
"identification": "123456789",
"municipality": "MANIZALES",
"offender": "MATEO VERIFIK"
},
{
"date": "21/01/2022 05:28:13 p. m.",
"department": "CALDAS",
"file": "17-001-6-2022-1929",
"format": "002",
"identification": "123456789",
"municipality": "MANIZALES",
"offender": "MATEO VERIFIK"
},
{
"date": "11/03/2021 01:13:45 p. m.",
"department": "CALDAS",
"file": "17-001-6-2021-3865",
"format": "002",
"identification": "123456789",
"municipality": "MANIZALES",
"offender": "MATEO VERIFIK"
}
]
},
"signature": {
"dateTime": "April 18, 2024 6:33 PM",
"message": "Certified by Verifik.co"
},
"id": "12NC7"
}
Code | Description | Response Body | |
---|---|---|---|
404 |
Not Found | Information not found. |
| {
"code": "NotFound",
"message": "Record not found.",
"signature": {
"dateTime": "August 31, 2022 3:24 PM",
"message": "Certified by Verifik.co"
}
} |
| 409
| Conflict | Some parameters are missing.
| {
"code": "MissingParameter",
"message": "missing documentType\n. missing documentNumber\n"
} |
| 409
| Conflict | Invalid documentType for this query.
| {
"code": "MissingParameter",
"message": "documentType must be one of: [CC,CE]"
} |