Notification Saved Command

Cristian a year ago

Is there an API option to reach this data?

Captura de pantalla 2024-08-20 a la(s) 5.38.04 p. m..png

Anton Tananaev a year ago

If you see it in the official app, then yes. The app is using the same API. Just check what requests it sends.

Cristian a year ago

I checked here but did not find anything, or am I wrong?

https://www.traccar.org/api-reference/#tag/Notifications/paths/~1notifications/get

Anton Tananaev a year ago

Are you asking about notifications or saved commands?

Cristian a year ago

Notifications, but using the command channel, which by default prompts you for a saved command.

Anton Tananaev a year ago

Again, I recommend to check what the web app sends in requests.

Cristian a year ago

thanks Anton

Cristian a year ago

Thanks for the help Anton, I was able to solve my problem that was:
Have 2 or more times the same notification by the command channel but with different commands for each notification, attached image.
so I have modified it to show me the saved command for each notification that uses the command channel, this way I don't have to edit each notification to find out
Captura de pantalla 2024-08-21 a la(s) 12.09.52 a. m..png