Disciplinary Records in Colombia (attorney's office)
Disciplinary Records in Colombia (attorney's office)โ
GET - https://api.verifik.co/v2/co/procuradurรญa/antecedentes
The service to check disciplinary records of individuals in Colombia (attorney's office). By providing the document type and number, you can retrieve information on the individual's name and whether they have any disciplinary records. The response includes details on sanctions, instances, crimes, and ineligibility associated with the individual's record.
Implementationโ
Headers
| Name | Value |
|---|---|
| Content-Type | application/json |
| Authorization | Bearer <token> |
Query Parameters
| Name | Type | Required? | Description | Example |
|---|---|---|---|---|
| documentType | String | True | Document type. Allowable parameter: CC, PEP, CE. | CC |
| documentNumber | String | True | Document number of the person to consult, without spaces or points. | 123456789 |
Requestโ
- JavaScript
- Python
- Swift
- PHP
import axios from 'axios';
const options = {
method: 'GET',
url: 'https://api.verifik.co/v2/co/procuraduria/antecedentes',
params: {documentType: 'CC', documentNumber: '123456789'},
headers: {
Accept: 'application/json',
Authorization: 'jwt <tu_token>'
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
import http.client
conn = http.client.HTTPSConnection("api.verifik.co")
payload = ''
headers = {}
conn.request("GET", "/v2/co/procuraduria/antecedentes?documentType=CC&documentNumber=", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
var request = URLRequest(url: URL(string: "https://api.verifik.co/v2/co/procuraduria/antecedentes?documentType=CC&documentNumber=")!,timeoutInterval: Double.infinity)
request.httpMethod = "GET"
let task = URLSession.shared.dataTask(with: request) { data, response, error in
guard let data = data else {
print(String(describing: error))
return
}
print(String(data: data, encoding: .utf8)!)
}
task.resume()
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('https://api.verifik.co/v2/co/procuraduria/antecedentes?documentType=CC&documentNumber=');
$request->setMethod(HTTP_Request2::METHOD_GET);
$request->setConfig(array(
'follow_redirects' => TRUE
));
try {
$response = $request->send();
if ($response->getStatus() == 200) {
echo $response->getBody();
}
else {
echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
$response->getReasonPhrase();
}
}
catch(HTTP_Request2_Exception $e) {
echo 'Error: ' . $e->getMessage();
}
Responseโ
- 200 (With Records)
- 200 (No Records)
- 404
- 409 (Missing Parameters)
- 409 (Server Error)
{
"data": {
"documentType": "CC",
"documentNumber": "19592793",
"citizen": "JAIMER MARABITH PEREZ PEREZ",
"hasRecord": true,
"isRequired": false,
"legend": "Consulta en lรญnea de Antecedentes Disiplinarios, La Procuraduria General de la Nacion certifica Que siendo las 9:46:41 PM horas del 2/8/2022 el Seรฑor(a) JAIMER MARABITH PEREZ PEREZ identificado(a) con Cรฉdula de ciudadanรญa Nรบmero 19592793 El ciudadano si presenta antecedentes.",
"antecedentes": [
{
"sanciones": [
{
"Sancion": "PRISION",
"Termino": "78 MESES",
"Clase": "PRINCIPAL",
"Suspendida": ""
},
{
"Sancion": "INHABILIDAD PARA EL EJERCICIO DE DERECHOS Y FUNCIONES PUBLICAS",
"Termino": "78 MESES",
"Clase": "ACCESORIA",
"Suspendida": ""
}
],
"instancias": [
{
"Nombre": "PRIMERA",
"Autoridad": "JUZGADO 2 PENAL DEL CIRCUITO ESPECIALIZADO DE DESCONGESTION - SANTA MARTA (MAGDALENA)",
"Fecha providencia": "30/06/2015",
"fecha efecto Juridicos": "13/06/2016"
}
],
"delitos": [
{
"Descripcion del Delito": "HOMICIDIO (LEY 599 DE 2000)"
}
],
"inhabilidades": [
{
"Mรณdulo": "PENAL",
"Inhabilidad legal": "INHABILIDAD PARA DESEMPEรAR CARGOS PรBLICO LEY 734 ART 38 NUM 1",
"Fecha de inicio": "13/06/2016",
"Fecha fin": "12/06/2026"
}
]
}
]
},
"signature": {
"dateTime": "August 2, 2022 4:46 PM",
"message": "Certified by Verifik.co"
}
}
{
"data": {
"documentType": "CC",
"documentNumber": "123456789",
"fullName": "MATEO VERIFIK",
"firstName": "MATEO",
"lastName": "VERIFIK",
"arrayName": [
"MATEO",
"VERIFIK"
],
"antecedentes": [],
"isRequired": false,
"legend": "Consulta en lรญnea de Antecedentes Disiplinarios, La Procuraduria General de la Nacion certifica Que siendo las 15 horas del 31/08/2022 el Seรฑor(a) NICOLAS HERNANDEZ TOVAR identificado(a) con Cรฉdula de ciudadanรญa Nรบmero 1023942104 El ciudadano no presenta antecedentes.",
"expeditionDate": "Esta informaciรณn ha sido catalogada como semi privada y no estรก disponible para su entrega de forma temporal. - RNEC 2686",
"expeditionPlace": "Esta informaciรณn ha sido catalogada como semi privada y no estรก disponible para su entrega de forma temporal. - RNEC 2686",
"dateOfBirth": "Esta informaciรณn ha sido catalogada como semi privada y no estรก disponible para su entrega de forma temporal. - RNEC 2686"
},
"signature": {
"dateTime": "August 31, 2022 3:53 PM",
"message": "Certified by Verifik.co"
}
}
{
"code": "NotFound",
"message": "Record not found."
}
{
"code": "MissingParameter",
"message": "missing documentType\n. missing documentNumber\n"
}
{
"code": "Conflict",
"message": "Server_Not_Response_From_Procuraduria"
}