コロンビア — 懲戒記録(検察庁 / Procuraduría)
API リファレンス
エンドポイント
https://api.verifik.co/v2/co/procuraduria/antecedentes
本サービスは、コロンビア検察庁(Procuraduría)における個人の懲戒記録を照会します。文書タイプと文書番号を指定することで、対象者の氏名と懲戒記録の有無を取得できます。レスポンスには、対象者に関連する処分(sanciones)、審級(instancias)、犯罪(delitos)、欠格事由(inhabilidades)の詳細が含まれます。
ヘッダー
| 名前 | 値 |
|---|---|
| Content-Type | application/json |
| Authorization | Bearer <token> |
パラメーター
info
対応する 文書タイプ とそれぞれの必須パラメーターの一覧については、文書タイプ ガイドをご参照ください。
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
documentType | string | はい | 文書タイプ。許可される値: CC, PEP, CE。 |
documentNumber | string | はい | 照会対象者の文書番号。スペースやドットを含めずに入力してください。 |
リクエスト
- 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();
}
レスポンス
- 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"
}