Why can't you use the existing API (devices)?
create get api for fetch last device location (longitude,latitude,devicetime) of single device using deviceid
Actually fetch last device location only single device using device id
means api/devices/id(GET) .
not all devices only fetch single device.
please help are you done
Read the documentation (in the link above), if you pass in the ID parameter, it will return only a single device
which url is used to find live location of single device.
and from or to what time is used.
if possible only device id not from or to time used.
Is this possible to this api only deviceid used ,not time
You can only get all devices for your user. Also, for live data fetching I would recommend to use WebSocket API instead of polling.
So , if not possible only single devices fetch live location .
how to create web socket api on traccar. what url is used.
Read documentation.
Please find me this api is possible or not..
If possible how to create get api for fetch live location of single device using uniqueId.
i also create get api but not run please find the source code of this api
please help