ข้ามไปยังเนื้อหาหลัก

myGeoTab API Adapter, looking for specific data

EGarw-2073
ผู้โพสต์ต้นฉบับ

Using the myGeotab Adapter API, I can't seem to find the data I need in the published data dictionary. Looking for "Status" where valid values are OFF, ON, D, INT_D, SB, and YM. Also looking for "Duration"

เข้าร่วมการสนทนา

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

6 การตอบกลับ

Hey @EGarw-2073​,

 

You would need to look in the DutyStatusLogs table. You can read more about it here in the documentation. Let me know if that's what you were looking for.

 

Thanks,

Tucker

EGarw-2073
ผู้โพสต์ต้นฉบับ

Thanks, I have it enabled in my.json file, but for some reason am not seeing the table.

Hey if you have everything configured correctly but aren't seeing it, I would need to tag in @SteveD-1097​ who created the API adapter. He'll be able to give you a better answer. What version are you currently using for the API Adapter?

SteveD-1097
จีโอแท็บเบอร์

Hi @EGarw-2073​ ,

 

@TuckerBA-1087​ is correct that what you're looking for is in the DutyStatusLogs table. My guess is that you're using the new data model (DM2) which doesn't yet have DutyStatusLogs.

 

Fortunately, a new release will be coming soon (likely within 2 weeks) in which the DutyStatusLogs feed will be added to DM2 and you'll be able to find them in a table named DutyStatusLogs2.

 

Steve

SteveD-1097
จีโอแท็บเบอร์

@EGarw-2073​ FYI, Version 3.12.0 of the API Adapter has been released on GitHub and it contains a DutyStatusLogs feed for Data Model 2 (DM2).

 

EGarw-2073
ผู้โพสต์ต้นฉบับ

Thank you, I'll give it a shot!

ยังมีคำถามอีกไหม