I am trying to acknowledge an alert using REST API through Postman using following URL:
https://server:17778/SolarWinds/InformationService/v3/Json/Invoke/Orion.AlertActive/Acknowledge and request type as POST.
Also, I am passing two parameters “AlertObjectID” and “Note” with above URL as mentioned in the below link.
However, I am not able to acknowledge the desired alert. PFA screenshot of the error that I am facing while performing above steps in the Postman.
I would really appreciate your inputs on the same.
When executing verbs via the REST api you'll want to use a parameter array that is not named, but positional. Check this out: REST · solarwinds/OrionSDK Wiki · GitHub
Essentially you want an array of values instead of a JSON object: [ 1006, 'resolved' ]