Returns list of all engine powers from model.
GET: https://www.autovit.ro/api/open/categories/:category_id/models/:brand_code/fuel_types/:model_code
Permission: read
Header
| Field | Type | Description |
|---|---|---|
| User-Agent | string | Account email. |
Query Param
| Field | Type | Description |
|---|---|---|
| category_id | Number | Category Id. Category unique ID. |
| brand_code | String | Brand Slug. |
| model_code | String | Model Slug. |
| yearoptional | Number | Optional parameter to specify which year to look for |
| is_imported_caroptional | Boolean | Optional parameter to specify if the vehicle is imported (0 or 1) |
Example request:
HTTP/1.1 GET /categories/29/models/ford/fuel_types/focus?year=2018&is_imported_car=1
User-Agent: $USER_EMAIL
Content-Type: application/json
Authorization: Bearer $ACCESS_TOKEN
Copied to clipboard
200
| Field | Type | Description |
| options | Object | document containing all fuel type codes and associated labels in a per language basis |
Success response:
HTTP/1.1 200 OK
{
"options": {
"petrol": {
"ro": "Benzina",
" "en": "Benzina"
},
"diesel": {
"ro": "Diesel",
"en": "Diesel"
}
}
}
Copied to clipboard