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 vehicles.
List vehicles.
Endpoint
GET - https://api.travisroadservices.com/v1/vehicles
Copy
Query params
| Parameter | Type | Description |
|---|---|---|
licensePlate
|
string | Filters vehicles by license plate. |
fleetNumber
|
string | Filters vehicles by fleet number. |
page
|
string | The collection page number |
itemsPerPage
|
string | The number of items per page |
Request body
No request bodyResponse body
Response 200
VehicleResource collection
Fields
| Field | Type | Description |
|---|---|---|
id
|
integer | Unique identifier of the vehicle. |
licensePlate
|
string | License plate of the vehicle, communicated to service partners to identify the vehicle. |
fleetNumber
|
string | Fleet number for filtering or display within the customer fleet. |
vehicleType
|
integer | Vehicle type ID (e.g. truck, semi-trailer), retrieved via the vehicle types API. |
isDefaultVehicle
|
boolean | Indicates whether this is the default vehicle for single-driver users. |
vehicleDepot
|
object | Vehicle depot to which this vehicle is assigned for invoicing purposes. |
id
|
string | |
import
|
object | Import record associated with this vehicle if created via bulk import. |
id
|
string (uuid) | Unique identifier of the import. |
Example