Reference Guide

40 REST API Guide OpenManage Essentials | Revision A02
The response will be in the following format:
<AlertActionResult>
<return>false</return>
<messages>
<message>
<id>-2342839</id>
<result>Invalid operation on -2342839</result>
</message>
<message>
<id>72933</id>
<result>Event 72933 does not exist</result>
</message>
</messages>
</AlertActionResult>
If the requested action for all of the alerts in the list are successfull, 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.
2.8.2 Last Alert IDs
<BASE_URI>/Alerts/LastAlertId
This API returns the ID of the last alert inserted in the OpenManage Essentials database.
2.8.3 Alerts Since
<BASE_URI>/AlertsSince/{id}
This API returns the alerts since the identifier provided ({id}). This identifier will typically be obtained by a
call to <BASE_URI>/Alerts/LastAlertId at some time in the past.