GET
1 token
Models for Year
/v1/pc/models
List of models by production year
Параметры
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
mfa_id
|
integer | обязательный | Manufacturer ID |
121
|
year
|
integer | обязательный | Production year |
2022
|
Пример запроса
GET https://plan.parts/api/v1/pc/models?mfa_id=121&year=2022
Authorization: Bearer your_api_key
Пример ответа
{
"success": true,
"data": [
{
"ms_id": 1994,
"name": "YZF-R1"
},
{
"ms_id": 2010,
"name": "MT-09"
}
]
}
Попробовать в песочнице
Test this endpoint with real data in the Developer Portal sandbox.
Попробовать в песочнице →Карта не нужна
Стоимость
Each successful call to this endpoint deducts 1 token from your balance. Tokens are only deducted on 2xx responses.