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.


Open Swagger Specification

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 body

Response body

Response 200

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