What are the forward.url attributes?

samukt7 years ago

Firstly i'd to congrats and thank Anton and everyone who has been making Traccar.
It's one of the most beautiful projects and community i'ver saw.
You are very good!!

Btw,
I'm working with forward and i think forward.url documentation is a little empty.
What are all forward.url attributes?

Anton Tananaev7 years ago
Quade dennis6 years ago

is it currently possible to have the raw data from the device itself present on the forward url attributes / forwarded events ?

Anton Tananaev6 years ago

Yes, you can include raw data in the position attributes, and then include attributes in the URL.

rolsch6 years ago

"Yes, you can include raw data in the position attributes, and then include attributes in the URL."

Can you me give an quick example or the right path to the documentation?

Anton Tananaev6 years ago
rolsch6 years ago

Hi Anton,
i don't see any information for the two steps "...include raw data in the position attributes, and then include attributes in the URL".

Anton Tananaev6 years ago

You need to use database.saveOriginal to include raw data in position attributes. Then use {attributes} in the URL for forwarding.

rolsch6 years ago

Hi Anton, thanks for the info.

...and this post (maitret) was very helpful "https://www.traccar.org/forums/topic/are-there-server-hooks/" for check the transfered json data :-)

Ernesto Vallejo6 years ago

Hi Anton, is it possible to append groupId when forwarding positions ? Thanks.

Anton Tananaev6 years ago

No, group is not a part of position data.

Ernesto Vallejo6 years ago

Is there a way to filter forward by groupId ?

Anton Tananaev6 years ago

No.

Anton Tananaev6 years ago

It's a standard unix timestamp in milliseconds.

hackerunet6 years ago

ok, sorry my mistake. thanks.