Returns list of all door counts from model.
GET: https://www.autovit.ro/api/open/categories/:category_id/models/:brand_code/door_counts/: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 |
| 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/door_counts/focus?fuel_type=diesel&engine_power=150&engine_capacity=1997&year=2018&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": {
"4": {
"ro": "4",
"en": "4"
},
"5": {
"ro": "5",
"en": "5"
}
}
}
Copied to clipboard