Is there an API for changing Notification Template settings. Specifically adjusting the email address set in a Notification Template?
Article Comments
That worked perfect! Is there an API call to do a test notification on a Notification Template?
Nov, 2018 - Permalink
Hi Will,
Yep. :)
Please see below:
/api/notificationtest.htm?id=TEMPLATEID |
Also here, if you want to use this call in a script or anywhere else, please add the username and passhash:
&username=USER&passhash=1234567 |
Best Regards.
Nov, 2018 - Permalink
I want to be able to use the same /editsettings but be able to change the "Custom Content" filed under the Send Email section of the notification. Can this be done?
Jul, 2020 - Permalink
Hello Will Fox,
the /editsettings portion of the API is not documented. You can try to perform the action manually and check the web server access log ("C:\ProgramData\Paessler\PRTG Network Monitor\Logs\webserver") to analyze the syntax. Please note there is no technical support for this.
Jul, 2020 - Permalink
Hi there,
The official "change object"-API is not supporting this. However you could use the API that PRTG uses itself to change this field:
The first parameter is the ID of the Notification Template, the second is the email address that is entered in the "Send to Email Address"-field.
If you want to use this call in a script or anywhere else, please add the username and passhash:
Best regards.
Nov, 2018 - Permalink