GET
1 token
Models for Year
/v1/pc/models
List of models by production year
Parámetros
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
year_id
|
integer query | requerido | Year / section ID (`id`) from /v1/pc/years |
4850
|
Solicitud de ejemplo
GET https://cdn.plan.parts/api/v1/pc/models?year_id=4850
Authorization: Bearer your_api_key
Respuesta de ejemplo
{
"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": []
}
}
Probar en el área de pruebas
Test this endpoint with real data in the Developer Portal sandbox.
Probar en el área de pruebas →Sin tarjeta de crédito
Costo en tokens
Each successful call to this endpoint deducts 1 token from your balance. Tokens are only deducted on 2xx responses.