Migrating from Driver Vehicle-Assignment or Vehicle Driver-Assignment endpoints
The Driver Vehicle-Assignment and and Vehicle Driver-Assignment endpoints are being deprecated in favor of a new, combined Driver-Vehicle Assignment endpoint. This consolidated endpoint provides a central place to request information about who was driving what vehicle over a specified time period.
Migrating fromDriver Vehicle-Assignment to Driver-Vehicle Assignment
* Update base endpoint from https://api.samsara.com/fleet/vehicles/driver-assignments to https://api.samsara.com/fleet/driver-vehicle-assignments
- If you use tags in your request, update your query param from
tagIdstodriverTagIds - Add the query parameter
filterBy:driversto limit results to drivers
Migrating fromVehicle Driver-Assignment to Driver-Vehicle Assignment
- Update base endpoint from
https://api.samsara.com/fleet/vehicles/driver-assignmentstohttps://api.samsara.com/fleet/driver-vehicle-assignments - If you use tags in your request, update your query param from
tagIdstovehicleTagIds - Add the query parameter
filterBy:vehiclesto limit results to vehicles
Updated 5 days ago
