Last Trips Information

Muhammad Ovais2 years ago

Been trying to figure out a way to get the Parked Time between trips (last trip only).

  1. I looked at the trips reports API (api/reports/trips), it will give me that information's but takes time to fetch records, because they give all trips between 2 dates.

  2. I also tried to get this information from Position Api (api/positions), but they will give me below datetime information

"serverTime": "2023-03-01T07:26:34.000+00:00",
"deviceTime": "2023-03-01T07:26:33.000+00:00",
"fixTime": "2023-03-01T07:26:33.000+00:00",
"motion": false,

Is there any way to get Last Trips End Datetime / fetch position record where Last Motion=true ?

Thanks

Anton Tananaev2 years ago

Is there any way to get Last Trips End Datetime / fetch position record where Last Motion=true ?

Those are not the same things.

I think the best option is probably getting the events report. It is much quicker than trips.