Returns list of all gearboxes from model.
GET: https://www.autovit.ro/api/open/categories/:category_id/models/:brand_code/gearboxes/: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. |
| year optional | Number | Optional parameter to specify which year to look for |
| fuel_type optional | String | Optional parameter to specify which fuel_type to look for |
| engine_power optional | Number | Optional parameter to specify which engine_power to look for |
| engine_capacity optional | Number | Optional parameter to specify which engine_capacity to look for |
| door_count optional | Number | Optional parameter to specify which door_count to look for |
| page optional | Number | Optional parameter. Allows requesting specific page results |
| limit optional | Number | Optional parameter. Allows limitation results for one request |
| is_imported_car optional | Boolean | Optional parameter to specify if the vehicle is imported (0 or 1) |
Example request:
HTTP/1.1 GET /categories/29/models/ford/gearboxes/focus?fuel_type=diesel&engine_power=150&engine_capacity=1997&year=2018&door_count=4&is_imported_car=0
User-Agent: $USER_EMAIL
Content-Type: application/json
Authorization: Bearer $ACCESS_TOKEN
Copied to clipboard
200
| Field | Type | Description |
| options | Object | document containing all door count codes and associated labels in a per language basis |
Success response:
HTTP/1.1 200 OK
{
"options": {
"automatic": {
"ro": "Automata",
"en": "Automata"
},
"manual": {
"ro": "Manuala",
"en": "Manuala"
}
}
}
Copied to clipboard