콜롬비아 검찰총장 징계 기록
API 레퍼런스
엔드포인트
https://api.verifik.co/v2/co/procuraduria/antecedentes
본 서비스는 콜롬비아 검찰총장(Procuraduría)에 등록된 개인의 징계 기록을 조회합니다. 문서 종류와 번호를 입력하면 대상자의 이름과 징계 기록 보유 여부를 확인할 수 있으며, 응답에는 제재(sanciones), 심급(instancias), 범죄(delitos), 자격 결격(inhabilidades)에 대한 상세 정보가 포함됩니다.
헤더(Headers)
| 이름 | 값 |
|---|---|
| Content-Type | application/json |
| Authorization | Bearer <token> |
매개변수(Parameters)
info
지원되는 문서 종류의 전체 목록과 각 종류별 필수 매개변수는 Document Types 가이드를 참고해 주세요.
| 이름 | 형식 | 필수 | 설명 |
|---|---|---|---|
documentType | string | 예 | 문서 종류. 허용 값: CC, PEP, CE. |
documentNumber | string | 예 | 조회 대상자의 문서 번호. 공백이나 점 없이 입력합니다. |
요청(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: 'Bearer <your_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 (기록 있음)
- 200 (기록 없음)
- 404
- 409 (매개변수 누락)
- 409 (서버 오류)
{
"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"
}