巴拿马 — 律师适任
律师适任查询按编号读取巴拿马律师证书。发送 1 到 10 位的 idoneidad 或别名 licenseNumber。可选 issueDate 使用 DD-MM-YYYY。缺少编号为 409 MissingParameter。
调用返回的内容
- 适任编号与姓名
status
使用场景
- 提交文件前确认律师。
- 有签发日期时进行核对。
- 拒绝非数字适任编号。
API 参考
Endpoint
GET https://api.verifik.co/v2/pa/lawyer/idoneidad
命中含姓名、适任编号和状态。未知编号为 404 NotFound。
Headers
| 名称 | 值 | 说明 |
|---|---|---|
| Content-Type | application/json | 请求格式 |
| Accept | application/json | 响应格式 |
| Authorization | Bearer <token> | 客户端 JWT |
Parameters
| 名称 | 类型 | 必填 | 示例 | 说明 |
|---|---|---|---|---|
idoneidad | string | 条件必填 | 12345 | 律师适任编号,1 到 10 位数字。别名 licenseNumber。二者必填其一。 |
issueDate | string | 否 | 01-02-2010 | 可选签发日期,格式 DD-MM-YYYY。 |
Request
- Node.js / JavaScript
- Python
- cURL
import axios from "axios";
const options = {
method: "GET",
url: "https://api.verifik.co/v2/pa/lawyer/idoneidad",
params: {
idoneidad: "12345",
},
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/pa/lawyer/idoneidad"
headers = {
"Accept": "application/json",
"Authorization": "Bearer <your_token>",
}
params = {
"idoneidad": "12345",
}
response = requests.get(url, headers=headers, params=params)
print(response.json())
curl -X GET "https://api.verifik.co/v2/pa/lawyer/idoneidad?idoneidad=12345" \
-H "Accept: application/json" \
-H "Authorization: Bearer <your_token>"
Response
- 200(找到记录)
- 409(缺少参数)
- 404(未找到)
- 401(未授权)
- 500(数据源不可用)
{
"data": {
"idoneidad": "12345",
"fullName": "JUAN PEREZ",
"status": "IDONEO",
"issueDate": "01-02-2010"
},
"signature": {
"dateTime": "November 27, 2026 12:00 PM",
"message": "Certified by Verifik.co"
}
}
{
"code": "MissingParameter",
"message": "idoneidad or licenseNumber is required."
}
{
"code": "NotFound",
"message": "Record not found."
}
{
"code": "UNAUTHORIZED",
"message": "Authentication required"
}
{
"code": "InternalServerError",
"message": "The official source is temporarily unavailable. Please retry shortly."
}
说明
- 发送
idoneidad或licenseNumber。 - 仅数字,1 到 10 位。
- 未知编号为 404
NotFound。 - 在
Authorization头中发送 Bearer JWT。 - JSON 示例只说明字段形状。实际调用返回你所发送数值对应的记录。
- 不要发送绕过缓存的标志。本页只记录客户端参数。
沙盒
| 场景 | 参数 | 结果 |
|---|---|---|
| 数据源有记录 | idoneidad: "12345" | 含律师记录的 200。 |
| 缺少必填值 | Omit idoneidad and licenseNumber | 409 MissingParameter。 |
| 未知的值 | idoneidad: "999999" | 编号未知时为 404 NotFound。 |
401 when the bearer token is missing or rejected.