Community
Fetch all routes get https://api.samsara.com/fleet/routes - query parameters
1 day ago by Chris McGorty
The query parameters, startTime and endTime default to now.
- If a route has multiple stops
- If the vehicle has not started the route - do not return
- If the vehicle has started but has not completed all of the stops - will want this returned
- If the vehicle has completed all of the stops - do not return
Question
- Since all the routes can have multiple stops, and they will not all begin and end at the same time:
- What does the startTime and endTime map to?
- What should the values be set to in order to get the above results returned?