๐ฆ๐ท ์๋ฅดํจํฐ๋ โ RTO
์๋ํฌ์ธํธโ
GET https://api.verifik.co/v2/ar/rto
์ด ์๋ํฌ์ธํธ๋ก ๋ฒํธํ ๊ธฐ์ค ์๋ฅดํจํฐ๋ RTO ๊ฒ์ฌ ๊ธฐ๋ก์ ์กฐํํฉ๋๋ค. ์๋ต์๋ ๊ฒ์ฌ ๊ฒฐ๊ณผ, ๊ฒ์ฌ ์ ํ, ๊ฒ์ฌ ๋ฐ ๋ง๋ฃ ๋ ์ง, ์ธ์ฆ์, ํ์ฅ์ฑ ์นดํ ๊ณ ๋ฆฌ, ๊ฒ์ฌ ์ผํฐ ๋ฐ ์๋ฆผ ์ ํ์ด ํฌํจ๋ฉ๋๋ค.
ํค๋โ
| Name | Value |
|---|---|
| Accept | application/json |
| Authorization | Bearer <token> |
๋งค๊ฐ๋ณ์โ
| ์ด๋ฆ | ์ ํ | ํ์ | ์ค๋ช |
|---|---|---|---|
plate | string | Yes | ๋ฉ๋ฅด์ฝ์๋ฅด ํ์ AA-123-BB (AA123BB๋ก ์ ์ก, ๊ณต๋ฐฑ ๋ฐ ๊ตฌ๋์ ์์). |
์์ฒญโ
- JavaScript
- Python
import axios from 'axios';
const { data } = await axios.get('https://api.verifik.co/v2/ar/rto', {
params: { plate: 'AA123BB' },
headers: {
Accept: 'application/json',
Authorization: `Bearer ${process.env.VERIFIK_TOKEN}`,
},
});
console.log(data);
import os
import requests
url = "https://api.verifik.co/v2/ar/rto"
headers = {"Accept": "application/json", "Authorization": f"Bearer {os.getenv('VERIFIK_TOKEN')}"}
params = {"plate": "AA123BB"}
response = requests.get(url, headers=headers, params=params)
print(response.json())
์๋ตโ
- 200
- 404
- 409
- 500
{
"data": {
"plate": "AA123BB",
"totalRecords": "1",
"inspections": [
{
"plate": "AA123BB",
"result": "CONDICIONAL",
"inspectionType": "RTO",
"inspectionDate": "2026-01-15",
"expirationDate": "2027-01-15",
"certificate": "RTO-10000001",
"scalabilityCategory": "L",
"inspectionCenter": "CENT UTN",
"alertType": "danger"
}
]
},
"signature": {
"dateTime": "July 1, 2026 10:00 AM",
"message": "Certified by Verifik.co"
}
}
{
"code": "NotFound",
"message": "Record not found."
}
{
"code": "MissingParameter",
"message": "missing plate\n"
}
{
"code": "InternalServerError",
"message": "Server error."
}
์๋ต ํ๋โ
| ํ๋ | ์ ํ | ์ค๋ช |
|---|---|---|
plate | string | ์ ๊ทํ๋ ๋ฒํธํ. |
totalRecords | string | ๋ฐํ๋ RTO ๊ธฐ๋ก ์. |
inspections | object[] | RTO ๊ฒ์ฌ ๊ธฐ๋ก. |
inspections[].result | string | null | ๊ฒ์ฌ ๊ฒฐ๊ณผ. |
inspections[].inspectionType | string | null | ๊ฒ์ฌ ์ ํ ๋ผ๋ฒจ. |
inspections[].inspectionDate | string | null | ๊ฒ์ฌ ๋ ์ง. |
inspections[].expirationDate | string | null | ๋ง๋ฃ ๋ ์ง. |
inspections[].certificate | string | null | ์ธ์ฆ์ ์๋ณ์. |
inspections[].scalabilityCategory | string | null | ์์ค์์ ๋ฐํ๋ ํ์ฅ์ฑ ์นดํ ๊ณ ๋ฆฌ. |
inspections[].inspectionCenter | string | null | ๊ฒ์ฌ ์ผํฐ ์ด๋ฆ. |
inspections[].alertType | string | null | ๊ฐ๋ฅํ ๊ฒฝ์ฐ ์์ค ์๋ฆผ ์ ํ. |
์ฐธ๊ณ โ
- ์์ค๊ฐ ์ธ์ ๊ฐ๋ฅํ ์ผ/์/๋ ๊ฐ์ ๋ฐํํ๋ฉด ๋ ์ง ํ๋๊ฐ ์ ๊ทํ๋ฉ๋๋ค.
- RTO ๊ธฐ๋ก์ ๋์ผ ๋ฒํธํ์ ์ฌ๋ฌ ๊ธฐ๋ก์ ์ฒ๋ฆฌํ๊ธฐ ์ํด
inspections๋ฐฐ์ด๋ก ๋ฐํ๋ฉ๋๋ค.