🇨🇴 法律专业人士资格证明(有效性)
端点
GET https://api.verifik.co/v2/co/rama/certificado/vigencia
查询哥伦比亚法律专业人士证书与有效状态。在 query 中传入 documentType(仅 CC 或 CE)、documentNumber、quality(如 ABG、JUEZPAZ、LT)。字段 encalidad 与 API 返回拼写一致。
标头
| Name | Value |
|---|---|
| Accept | application/json |
| Authorization | Bearer <token> |
参数
| name | type | required | description |
|---|---|---|---|
documentType | string | yes | 仅 CC 或 CE。 |
documentNumber | string | yes | 要查询的证件号码。 |
quality | string | yes | 职业类别代码(如 ABG、JUEZPAZ、LT)。 |
请求
- Node.js
- Python
import axios from "axios";
const { data } = await axios.get("https://api.verifik.co/v2/co/rama/certificado/vigencia", {
params: { documentType: "CC", documentNumber: "123456789", quality: "ABG" },
headers: {
Accept: "application/json",
Authorization: `Bearer ${process.env.VERIFIK_TOKEN}`,
},
});
console.log(data);
import os, requests
url = "https://api.verifik.co/v2/co/rama/certificado/vigencia"
headers = {"Accept": "application/json", "Authorization": f"Bearer {os.getenv('VERIFIK_TOKEN')}"}
params = {"documentType": "CC", "documentNumber": "123456789", "quality": "ABG"}
r = requests.get(url, headers=headers, params=params)
print(r.json())
响应
- 200
- 404
- 409
{
"data": {
"certificado": "",
"documentNumber": "123456789",
"documentType": "CC",
"encalidad": "Abogado",
"estado": "Vigente",
"fechaCreacion": "30/05/2014",
"fechaExpedicion": "2014/05/30",
"idHojaDeVida": "5757153a-0e73-e123-80f1-001234b16b17",
"motivoNoVigencia": " - ",
"numeroTarCarLice": "123456",
"observacionesPenaAccesoria": null
},
"signature": {
"dateTime": "April 5, 2024 2:17 PM",
"message": "Certified by Verifik.co"
},
"id": "CHKEH"
}
{
"code": "NotFound",
"message": "Record not found."
}
{
"code": "MissingParameter",
"message": "校验错误(缺少或无效参数,或 documentType 不是 CC/CE)。"
}
说明
documentType仅接受CC与CE(不接受 NIT)。