GET
1 token
Years for Brand
/v1/pc/years
List of production years by brand
Parámetros
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
brand_id
|
integer query | requerido | Brand ID (`id`) from /v1/pc/brands |
22
|
Solicitud de ejemplo
GET https://cdn.plan.parts/api/v1/pc/years?brand_id=22
Authorization: Bearer your_api_key
Respuesta de ejemplo
{
"success": true,
"data": {
"years": [
{
"id": 4850,
"year": "Utility 2019"
},
{
"id": 4851,
"year": "Utility 2018"
}
],
"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.