Vehicles

Get All Vehicles

Returns every vehicle in your depot under a vehicles array, inactive vehicles included. The list isn't paged and has no filters. Each vehicle has the same shape as GET /vehicles/{id}: name, active, capacities, skills, availability and shift times, start and end locations, and break settings. Each vehicle also has a shift array with its shift schedule and breaks, as set up in the SmartRoutes web app. Deleted vehicles are not returned.

get/vehicles

Request

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

Response

Successful response

Changes

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