Website

Read all engine powers from model

Last update: 11.12.2023

Returns list of all engine powers from model.

GET: https://www.autovit.ro/api/open/categories/:category_id/models/:brand_code/engine_powers/: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
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_powers/focus?year=2018&fuel_type=diesel&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": {
        "95": {
            "ro": "95",
            "en": "95"
        },
        "120": {
            "ro": "120",
            "en": "120"
        },
        "150": {
            "ro": "150",
            "en": "150"
        },
        "185": {
            "ro": "185",
            "en": "185"
        }
    }
}			
		
Copied to clipboard