positions api

khushbugarg2 years ago

/positions?userId=1
using this api I get the list of all devices linked with the user with last known positions, what would be the api for not only knowing the last known positions of devices but also all the positions of all the device linked with a particular user.
There is for sure the api
/positions?deviceId=1
for knowing all the positions of a single device, but i want it to be like get all positions in the specified time of all devices linked with user specifies in params.

BerndFfm2 years ago

/devices gets all devices
/positions gets all positions of all devices linked to the user.

With from to parameters you can define a specified time. If this works without userid you have to try.

Bernd

khushbugarg2 years ago

/positions does not give all positions, just the last known position. what's the api for all positions?

Anton Tananaev2 years ago

All historical positions? You can put some really old date and get it from a report.