How does traccar send the payload to the forwarded server ?

mybustrackr 5 months ago

I am in the process of implementing a backend server to do some operations based on the positions returned by traccar.
It will be a while before I get my hands on real GPS devices. Can someone paste here an example forwarded JSON from traccar to the server to help us adapt our applications ?
Second question: If there are multiple GPS devices. How does traccar send the JSON payload in this case ? Batch or one forwarded request per device?

Anton Tananaev 5 months ago

Traccar doesn't batch forwarding requests. Format for the positions and device model is in the API documentation. Position forwarding include both device and position.

mybustrackr 5 months ago

Thank you.
Can you please link me to the API doc you are referring to ? I can't seem to find it.

Anton Tananaev 5 months ago

Click Documentation at the top and click Traccar API. Where did you look?