I have a list of vehicles and drivers that I need to assign to the trip history.
The vehicles were driven by different drivers on different days.
You need to be logged in to reply to this post and participate in the Geotab Community discussions.
Hey @****-6175 ,
Thank you for asking your question in our community. I do not know of a way to do this using the UI so I had an AI agent share the way to do this through the API. Please let me know if you have any questions:
For a larger list, this can be automated through the MyGeotab API using the DriverChange object with the change type TripDriver. Each assignment should include:
- The vehicle/device ID
- The driver ID
- The date and time associated with the trip
The timestamp is important. A date alone is not enough if the vehicle made multiple trips that day. Also, use TripDriver when assigning a specific trip. A normal driver change may affect driver attribution for subsequent trips instead.
The DriverChange API reference is available here:
https://developers.geotab.com/myGeotab/apiReference/objects/DriverChange
If you share more about whether you are doing this manually or through an integration, the recommended workflow may be clearer.
Hope that helps!
Eishi FUN