Vehicle API - V2
Get vehicle depots
Returns a list of all vehicle depots, including basic details such as name, invoice entity and the number of assigned vehicles.
Endpoint
GET - https://api.travisroadservices.com/v2/vehicle_depots
Copy
Query params
| Parameter | Type | Description |
|---|---|---|
search
|
string | Search for vehicle depots based on the vehicle depot name and invoice entity name |
name
|
string | Search for vehicle depots based on the vehicle depot name |
order[name]
|
string | Sort the results based on the vehicle depot name |
order[invoiceEntity]
|
string | Sort the results based on the invoice entity name |
order[assignedVehicles]
|
string | Sort the results based on the number of connected vehicles |
page
|
string | The collection page number |
itemsPerPage
|
string | The number of items per page |
Request body
No request bodyResponse body
Response 200