Skip to main content

Unable to get codriver ID in API adapter database

SDavi-1096
Original Poster

I currently retrieve from the SDK any duty status logs that show a codriver but we don't show the driver in our backend system having a codriver and then email this information to the appropriate party to see if the codriver should be removed in Geotab.

 

I'm not pulling in data with the API adapter and I see that we're getting JSON data in the CoDriver field in the DutyStatusLogs table when the driver has a codriver, but the Id for the codriver is always empty. Is there a way to have this be populated with the Geotab user id of the codriver? If there is no codriver on the log, the CoDriver field in the record is null, so we can identify which drivers have an attached codriver, but we just can't determine who the codriver is based on the field being empty in the database.

 

Thanks,

Sean

Join the conversation

You need to be logged in to reply to this post and participate in the Geotab Community discussions.

Top Answers

EishiFUN
Geotabber

Hey @SDavi-1096​  Sorry for the delay in getting back to you on this. It looks like this is something we may want our Dev team to look into. Can you make a ticket about this? You can reference this question in the ticket or I can make one for you.

 

Sorry I couldn't offer more help with this in our community. What our team told me when I asked them was: They don't think this has to do with the API Adapter, but rather the data being returned via SDK. Sounding very similar to what was observed in a recent Dev case.

 

Let me know if you have any other questions or if you want me to make the ticket for you. I am happy to help.

 

Thank you!

Eishi FUN

2 Replies

EishiFUN
Geotabber

Hey @SDavi-1096​ ,

 

Thank you for asking your question in our community. I wanted to let you know I have contacted our SDK team for their help answering your question. I will let you know what I hear from them as soon as I do.

 

Thank you for your patience while we look into this. Feel free to reach out if you have any other questions. We are here to help.

 

Have a great day!

Eishi FUN

EishiFUN
Geotabber

Hey @SDavi-1096​  Sorry for the delay in getting back to you on this. It looks like this is something we may want our Dev team to look into. Can you make a ticket about this? You can reference this question in the ticket or I can make one for you.

 

Sorry I couldn't offer more help with this in our community. What our team told me when I asked them was: They don't think this has to do with the API Adapter, but rather the data being returned via SDK. Sounding very similar to what was observed in a recent Dev case.

 

Let me know if you have any other questions or if you want me to make the ticket for you. I am happy to help.

 

Thank you!

Eishi FUN

Still have questions?