ボゴタ — 車両反則金
エンドポイント
GET https://api.verifik.co/v2/co/bogota/vehicle/fines
コロンビア・ボゴタ登録の車両について、ナンバープレート(plate)で反則金・違反情報を照会します。レスポンスには種別、ステータス、番号、日付、支払い関連などの詳細が含まれます。
ヘッダー
| 名前 | 値 |
|---|---|
| Accept | application/json |
| Authorization | Bearer <token> |
パラメーター
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
plate | string | はい | 照会するプレート。スペースやピリオドを含めないでください。 |
リクエスト
- Node.js
- Python
import axios from "axios";
const { data } = await axios.get("https://api.verifik.co/v2/co/bogota/vehicle/fines", {
params: { plate: "ABC123" },
headers: {
Accept: "application/json",
Authorization: `Bearer ${process.env.VERIFIK_TOKEN}`
},
});
console.log(data);
import os, requests
url = "https://api.verifik.co/v2/co/bogota/vehicle/fines"
headers = {"Accept": "application/json", "Authorization": f"Bearer {os.getenv('VERIFIK_TOKEN')}"}
params = {"plate": "ABC123"}
r = requests.get(url, headers=headers, params=params)
print(r.json())
レスポンス
- 200
- 404
- 409
{
"data": {
"fines": [
{
"type": "Comparendo - comparendera",
"status": "vigente",
"number": "11001000000035429360",
"plate": "ABC123",
"impositionDate": "14/11/2022",
"notificationDate": "14/11/2022",
"balance": "468500",
"discountValue": "0",
"pendingBalance": "549500",
"interest": "81000",
"total": "549500",
"totalCollections": "0",
"impositionMedium": "Control en vía apoyado en dispositivos móviles",
"courseAttendanceMessage": null,
"installmentNumber": "0",
"installmentStatus": null,
"installmentCount": "0",
"documentType": "C",
"documentNumber": "123456789",
"name": "MATEO VERIFIK",
"moratoryInterest": "0"
}
],
"plate": "ABC123"
},
"signature": {"message": "Certified by Verifik.co", "dateTime": "July 3, 2024 4:03 PM"},
"id": "Y5GS6"
}
{
"code": "NotFound",
"message": "Record not found."
}
{
"code": "MissingParameter",
"message": "missing plate"
}
メモ
- ステータス vigente は反則金が有効で支払いが必要であることを示します。
totalには元の金額に加え、発生した利息が含まれる場合があります。- 支払いや異議申し立てでは
numberで各反則金を参照してください。