Avatar

Get LatestLog

0

Is there a way to get the latest log of all devices into a database?

there was a method called GetLatestLog() in 5.6 version

how can I get this data using the new version?

Aarón Galván

Please sign in to leave a comment.

1 comment

0
Avatar

Hi Aaron,

There's a couple ways you can achieve this.

1: Do as in snipt shown in SDK: https://my.geotab.com/sdk/default.html#/snippets - Show current location and driving status for all vehicles

2: You can search for log records for utc now from/to date for all devices.

 

The first option is a bit heavier/more time intensive to get, so if you are only interested in position #2 may be the faster option.

 

Thanks,

Steve

Steve Hansen 0 votes