This API version is deprecated

Please use the latest version for continued support and access to new features. View latest API documentation

Vehicle API

Get vehicle depot.

Retrieves a VehicleDepotResource resource.


Open Swagger Specification

Endpoint

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

Path params

Parameter Type Description
id string VehicleDepotResource identifier

Request body

No request body

Response body

Response 200

VehicleDepotResource resource

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

Response 404

Not found

Fields

Field Type Description
title string A short, human-readable summary of the problem.
detail string A human-readable explanation specific to this occurrence of the problem.
status number The HTTP status code applicable to this problem.
instance string A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
type string A URI reference that identifies the problem type

Example