latestOpenAPI 3.0.02026-08-093414154.6 KB

5331e15a22af

Mileages

Search vehicle mileages (use /api/mileages/v2 instead)

We encourage users to begin migrating to /api/mileages/v2

To include additional information about the returned body (such as year, make, model and trim) request with the query parameter as verbose=yes.

For complex queries you may use the json field to send an array of URL encoded JSON conditions, example:

[{"field": "combined_mpg", "op": ">=", "val": 20}, {"field": "combined_mpg", "op": "<=", "val": 30}]

JSON operators: =, !=, >, <, >=, <=, in, not in, like, not like, not null, and is null.

JSON search fields: year, make, model, trim, is_active, fuel_tank_capacity, combined_mpg, epa_city_mpg, epa_highway_mpg, range_city, range_highway, epa_combined_mpg_electric, epa_city_mpg_electric, epa_highway_mpg_electric, range_electric, epa_kwh_100_mi_electric, epa_time_to_charge_hr_240v_electric, battery_capacity_electric, created, modified, make_id, make_model_id, and make_model_trim_id.

get/api/mileages

Query parameters

sort'id' | 'make_model_trim_id' | 'fuel_tank_capacity' | 'combined_mpg' | 'epa_city_mpg' | 'epa_highway_mpg' | 'range_city' | 'range_highway' | 'battery_capacity_electric' | 'epa_time_to_charge_hr_240v_electric' | 'epa_kwh_100_mi_electric' | 'range_electric' | 'epa_highway_mpg_electric' | 'epa_city_mpg_electric' | 'epa_combined_mpg_electric'
verbose'yes' | 'no'

Includes make, model and trim

yearstring

Value

makestring

Like

modelstring

Like

trimstring

Like

make_model_idstring

Value

make_idstring

Value

make_model_trim_idstring

Value

combined_mpgstring

Value

epa_city_mpgstring

Value

epa_highway_mpgstring

Value

range_citystring

Value

range_highwaystring

Value

jsonstring

JsonSearchFilter

Parameters

#/x-swagger-bake/components/parameters/paginatorPage — unresolved $ref
#/x-swagger-bake/components/parameters/paginatorLimit — unresolved $ref
#/x-swagger-bake/components/parameters/paginatorDirection — unresolved $ref

Response

GenericCollection required— unresolved $ref