哥伦比亚 — 电气与机械工程执照
电气与机械工程执照查询读取 Consejo Profesional Nacional de Ingenierías Eléctrica, Mecánica y Profesiones Afines。发送 documentNumber、licenseNumber 或 fullName 之一。响应包含执照、专业、状态以及是否有处分。
调用返回的内容
licenseNumber与specialty- 例如 VIGENTE 的
status isRegistered与hasSanctions- 多条记录时的
registrations
使用场景
- 开工前确认电气或机械工程师。
- 读取执照旁的纪律处分。
- 把合同姓名与理事会记录对齐。
API 参考
Endpoint
GET https://api.verifik.co/v2/co/consejo-profesional
命中包含 fullName、licenseNumber、specialty、status、isRegistered 和 hasSanctions。理事会没有记录时返回 404 NotFound。
Headers
| 名称 | 值 | 说明 |
|---|---|---|
| Content-Type | application/json | 请求格式 |
| Accept | application/json | 响应格式 |
| Authorization | Bearer <token> | 客户端 JWT |
Parameters
| 名称 | 类型 | 必填 | 示例 | 说明 |
|---|---|---|---|---|
documentNumber | string | 条件必填 | 80123456 | 哥伦比亚身份号码,5 到 15 个字符。documentType 可以是 CC、CE、TI、PEP 或 PPT。 |
licenseNumber | string | 条件必填 | AN205-27910 | 专业执照号,例如 AN205-27910。只发它即可。 |
fullName | string | 条件必填 | ANA PEREZ | 工程师姓名或姓氏,3 到 160 个字符。只发它即可。 |
Request
- Node.js / JavaScript
- Python
- cURL
import axios from "axios";
const options = {
method: "GET",
url: "https://api.verifik.co/v2/co/consejo-profesional",
params: {
documentNumber: "80123456",
},
headers: {
Accept: "application/json",
Authorization: "Bearer <your_token>",
},
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error.response ? error.response.data : error.message);
}
import requests
url = "https://api.verifik.co/v2/co/consejo-profesional"
headers = {
"Accept": "application/json",
"Authorization": "Bearer <your_token>",
}
params = {
"documentNumber": "80123456",
}
response = requests.get(url, headers=headers, params=params)
print(response.json())
curl -X GET "https://api.verifik.co/v2/co/consejo-profesional?documentNumber=80123456" \
-H "Accept: application/json" \
-H "Authorization: Bearer <your_token>"
Response
- 200(找到记录)
- 409(缺少参数)
- 404(未找到)
- 401(未授权)
- 500(数据源不可用)
{
"data": {
"documentType": "CC",
"documentNumber": "80123456",
"fullName": "ANA MARIA PEREZ",
"licenseNumber": "AN205-27910",
"specialty": "INGENIERIA ELECTRICA",
"status": "VIGENTE",
"isRegistered": true,
"hasSanctions": false
},
"signature": {
"dateTime": "November 27, 2026 12:00 PM",
"message": "Certified by Verifik.co"
}
}
{
"code": "MissingParameter",
"message": "At least one of documentNumber, licenseNumber, or fullName must be provided."
}
{
"code": "NotFound",
"message": "Record not found."
}
{
"code": "UNAUTHORIZED",
"message": "Authentication required"
}
{
"code": "InternalServerError",
"message": "The official source is temporarily unavailable. Please retry shortly."
}
说明
- 至少发送
documentNumber、licenseNumber或fullName之一。 - 理事会没有记录是 HTTP 404,不是空的 200。
documentType可选。- 在
Authorization头中发送 Bearer JWT。 - JSON 示例只说明字段形状。实际调用返回你所发送数值对应的记录。
- 不要发送绕过缓存的标志。本页只记录客户端参数。
沙盒
| 场景 | 参数 | 结果 |
|---|---|---|
| 数据源有记录 | documentNumber: "80123456" | 含执照、专业和处分标志的 200。 |
| 缺少必填值 | Omit every search value | 409 MissingParameter。 |
| 未知的值 | documentNumber: "000000000" | 理事会没有记录时为 404 NotFound。 |
401 when the bearer token is missing or rejected.