Vehicles

Get Vehicle by ID

Returns one vehicle from your depot, nested under a vehicle key. The response includes the vehicle's capacities, skills, availability, start and end locations, break settings, and a shift array with its shift schedule and breaks. shift_start/shift_end appear only when availability is shift. Start or end address and coordinates appear only when that location is other. Break times appear only when break is true. An id that doesn't belong to a vehicle in your depot, including a deleted one, returns 400 INVALID_INPUT.

get/vehicles/{id}

Request

  • Base URL: https://api.smartroutes.io/v2
  • URL: https://api.smartroutes.io/v2/vehicles/{id}
  • Auth: none declared

Path parameters

idnumber required

ID of the vehicle to retrieve.

Response

Successful response

Changes

No recorded changes to this operation across all 1 revision of this API.