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.
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 bodyResponse 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