Hello,
I want to edit a ticket thru the API, however, I can't find any documentation about it. Could somebody please clearify this to me ?
Thanks, Peter
Article Comments
Hello Stephan,
Thank you very much. Is there a way (API or a PRTG call) to get all the tickets with a status NOT equal to Resolved ?
Best, Peter
Dec, 2017 - Permalink
Hi Peter,
Please check out <your-prtg>/api.htm?tabid=3 - within the query builder, as there's an option for tickets. You can filter them with the filters in the Sorting and Advanced Filtering table :)
Kind regards,
Stephan Linke, Tech Support Team
Dec, 2017 - Permalink
Hello Stephan,
Thanks, last question. Is there a way to get a notification pushed (not email) from the ticketsystem when a status of a ticket has changed ?
Thanks, Peter
Dec, 2017 - Permalink
I'm afraid there's no option for that - sorry :(
Kind regards,
Stephan Linke, Tech Support Team
Dec, 2017 - Permalink
Hi Peter,
Unfortunately, Tickets can only be modified via the actual PRTG calls:
Create a new ticket
/addticket.htm?id=new&subject=<subject>&assigned=<user or group id>&priority<1-5>&objectid=<corresponding object>&content=<description>&targeturl=
Response the ID of the newly created ticketAdd a comment to a ticket
/editticket.htm?id=1464&content=<comment>&subject=<subject>&assigned=<user or group id>&priority=<1-5>
Response OK (if it worked and there was a matching ticket)Kind regards,
Stephan Linke, Tech Support Team
Dec, 2017 - Permalink