This API version is deprecated

Please use the latest version for continued support and access to new features. View latest API documentation

Vehicle API

List vehicle types.

Retrieves the collection of VehicleTypeResource resources.


Open Swagger Specification

Endpoint

    GET - https://api.travisroadservices.com/v1/vehicle_types
    Copy
  

Query params

Parameter Type Description
category string Filters by vehicle category. Possible values: towing, towed, combination.
service string Filters by service. Possible values: truckwash, parking, tankcleaning, repair.
combination string Filters vehicle types that can be combined with the given vehicle type ID.
page string The collection page number
itemsPerPage string The number of items per page

Request body

No request body

Response body

Response 200

VehicleTypeResource collection

Fields

Field Type Description
id integer Unique identifier of the vehicle type.
name string Name of the vehicle type.
category string Category of the vehicle type (e.g. towing, towed, combination).
image string URL to an image representing the vehicle type.
combinations array IDs of vehicle types that can be combined with this type.
services array Services available for this vehicle type (e.g. truckwash, parking).

Example

Response 401

No response body - No bearer token set verify if your token is added as bearer token

Response 403

No response body - You don't have access to this API resource