GET
1 token
Models for Year
/v1/pc/models
List of models by production year
Параметры
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
year_id
|
integer query | обязательный | Year / section ID (`id`) from /v1/pc/years |
4850
|
Пример запроса
GET https://cdn.plan.parts/api/v1/pc/models?year_id=4850
Authorization: Bearer your_api_key
Пример ответа
{
"success": true,
"data": {
"models": [
{
"id": 40108,
"model_name": "CUSHMAN HAULER 4X4 (DIESEL) GRAY (U2019C1X4DUSL)"
},
{
"id": 40109,
"model_name": "CUSHMAN HAULER 4X4 CA GRAY (U2019C1V4CCAL)"
}
],
"breadcrumbs": []
}
}
Попробовать в песочнице
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.