White Papers

45 REST API Guide OpenManage Essentials | Revision A02
<BASE_URI>/Alerts/$sort(column=Id,Status;
direction=0,1)?Severity=8
All warning alerts sorted by Id (Ascending) and then by
Status(Descending)
2.8.1 Delete Alerts
<BASE_URI>/Alerts/{id}{|{id}}
Operation: DELETE
To delete an alert use the standard HTTP DELETE operation.
2.8.2 Acknowledge Alerts
<BASE_URI>/Alerts/{id}{|{id}}
Operation: PUT
To acknowledge an alert or clear the acknowledgement use the standard HTTP PUT operation. For the content
of the URL PUT request use 
the status. Requesting an acknowledgement or clearing an acknowledgement can be requested regardless of
the current status. The requested status will become the current status. Any other operations will be considered
an error.
The requested action can be applied to a list of alerts by adding additional alert ids separated by a pipe (|).
The response will be in the following format:
<RESTResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Result>false</Result>
<Messages>
<RESTResponseMessage>
<Id>56465</Id>
<Message>Alert with id 56465 does not exist</Message>
</RESTResponseMessage>
<RESTResponseMessage>
<Id>46541</Id>
<Message>Alert with id 46541 does not exist</Message>
</RESTResponseMessage>
</Messages>
</RESTResponse>
If the requested action for all of the alerts in the list are successful, the return value will be true. No other
information will be in the response.
If the requested action for any of the alerts in the list fails, the return value will be false. Messages for only
actions that failed will be in the response. The ID of the alert and the error message will be reported.
Any alerts in the list for the requested action that are not in the response are succeessful.