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

List vehicle depots.


Open Swagger Specification

Endpoint

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

Query params

Parameter Type Description
page string The collection page number
itemsPerPage string The number of items per page

Request body

No request body

Response body

Response 200

VehicleDepotResource collection

Fields

Field Type Description
id string (uuid) Unique identifier of the vehicle depot.
name string Name of the vehicle depot.
invoiceEntity object Customer entity against which costs for vehicles in this depot are invoiced.
id integer Unique identifier of the customer.
assignedVehiclesTotalCount integer Total number of vehicles assigned to this depot.

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