Website

Read all engine capacities from model

Last update: 11.12.2023

Returns list of all engine capacities from model.
GET: https://www.autovit.ro/api/open/categories/:category_id/models/:brand_code/engine_capacities/: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
fuel_typeoptional String Optional parameter to specify which fuel_type to look for
engine_poweroptional Number Optional parameter to specify which engine_power 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/engine_capacities/focus?year=2019&fuel_type=diesel&engine_power=95&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 version keys and associated labels in a per language basis

 

Success response:
		HTTP/1.1 200 OK
{
    "options": {
        "1498": {
            "ro": "1498",
            "en": "1498"
        },
        "1499": {
            "ro": "1499",
            "en": "1499"
        }
    }
}			
		
Copied to clipboard