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 from Driver 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
tagIds
todriverTagIds
- Add the query parameter
filterBy:drivers
to limit results to drivers
Migrating from Vehicle Driver-Assignment to Driver-Vehicle Assignment
- Update base endpoint from
https://api.samsara.com/fleet/vehicles/driver-assignments
tohttps://api.samsara.com/fleet/driver-vehicle-assignments
- If you use tags in your request, update your query param from
tagIds
tovehicleTagIds
- Add the query parameter
filterBy:vehicles
to limit results to vehicles
Updated about 1 year ago