Avatar

How can I get result of "DiagnosticVehicleActiveId" sorted order by last status time?

0
Deepanshu Pathak

Please sign in to leave a comment.

1 comment

0
Avatar

Hello Deepanshu,

You can make use of the Version Number and the FromDate search filters when using GetFeed to fetch the latest data from MyGeotab. This will fetch the data starting from the specified date/version number and will be sorted in ascending order (of Time/Version).

You can find more info on the GetFeed call here.

However, if you want to sort the data in descending order then you will have to do this in your code as this feature is not supported via API call filters.

Shivansh Singla 0 votes