Fasecolda — 事故・保険金請求履歴
エンドポイント
GET https://api.verifik.co/v2/co/fasecolda/sinister
Fasecolda のデータで、車両の事故・保険金請求(sinister)履歴を取得します。コロンビアのナンバー plate を クエリ(?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/fasecolda/sinister", {
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/fasecolda/sinister"
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": {
"plate": "KDK605",
"sinister": [
{
"id": "1",
"accidentDate": "20/01/2015",
"protection": "Pérdida Menor Cuantía"
},
{
"id": "2",
"accidentDate": "17/08/2012",
"protection": "Pérdida Menor Cuantía"
},
{
"id": "3",
"accidentDate": "16/01/2017",
"protection": "Pérdida Menor Cuantía"
}
]
},
"signature": {"message": "Certified by Verifik.co", "dateTime": "February 9, 2024 7:43 PM"},
"id": "PFDB2"
}
{
"code": "NotFound",
"message": "Record not found."
}
{
"code": "MissingParameter",
"message": "missing plate"
}
メモ
- エンドポイント名の sinister はコロンビアの保険用語で保険事故・請求を指します。
- Pérdida Menor Cuantía は小額損失など軽微な区分の例です。
- 各レコードには請求 ID・事故日・保護区分などが含まれます。