Notification Saved Command

Cristian4 months 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 Tananaev4 months ago

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

Cristian4 months 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 Tananaev4 months ago

Are you asking about notifications or saved commands?

Cristian4 months ago

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

Anton Tananaev4 months ago

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

Cristian4 months ago

thanks Anton

Cristian4 months 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