🇨🇴 Colombie — Procès judiciaires
Point d'accès
GET https://api.verifik.co/v2/co/rama/procesos
Envoyez documentType (CC ou NIT) et documentNumber en query. La recherche repose sur la correspondance de noms ; la liste peut être vide.
En-têtes
| Name | Value |
|---|---|
| Accept | application/json |
| Authorization | Bearer <token> |
Paramètres
| name | type | required | description |
|---|---|---|---|
documentType | string | yes | CC ou NIT. |
documentNumber | string | yes | Numéro à interroger. |
Requête
- Node.js
- Python
import axios from "axios";
const { data } = await axios.get("https://api.verifik.co/v2/co/rama/procesos", {
params: { documentType: "CC", documentNumber: "123456789" },
headers: {
Accept: "application/json",
Authorization: `Bearer ${process.env.VERIFIK_TOKEN}`,
},
});
console.log(data);
import os, requests
url = "https://api.verifik.co/v2/co/rama/procesos"
headers = {"Accept": "application/json", "Authorization": f"Bearer {os.getenv('VERIFIK_TOKEN')}"}
params = {"documentType": "CC", "documentNumber": "123456789"}
r = requests.get(url, headers=headers, params=params)
print(r.json())
Réponse
- 200
- 404
- 409
{
"data": {
"consultedSubject": "MATEO VERIFIK",
"documentNumber": "123456789",
"documentType": "CC",
"list": [
{
"despacho": "JUZGADO XXX CIVIL MUNICIPAL DE BOGOTÁ ",
"departamento": "BOGOTÁ",
"fechaProceso": "2007-09-21T00:00:00",
"llaveProceso": "110014003XXXXXXXXX"
}
],
"pagination": {
"page": "1",
"pages": "2",
"records": "21"
}
},
"signature": {
"message": "Certified by Verifik.co",
"dateTime": "March 3, 2022 3:55 PM"
},
"id": "ABC12"
}
{
"code": "NotFound",
"message": "Record not found."
}
{
"code": "MissingParameter",
"message": "Erreur de validation (documentType doit être CC ou NIT)."
}
Remarques
- Seuls
CCetNITsont acceptés pourdocumentType.