API Guide

/api/AlertService/Events
This URI represents the events.
POST method for Events
This method creates an event.
Description Creates a Redfish event.
Privilege MONITORING_SETUP
HTTP response
codes
201
Example request
body
{
"Context": "OME-ModularSubsc",
"EventId": "0",
"EventTimestamp": "2016-11-19T10:54:26+0000",
"EventType": "Alert",
"MemberId": "bbdbfb20-ae33-11e6-a44b-1866da78fcba",
"Message": "The system board battery is low.",
"MessageArgs": ["arg1", “arg2”],
"MessageId": "BAT0000",
"Severity": "Warning"
}
/api/AlertService/Actions/AlertService.Acknowledge
POST method for AlertService.Acknowledge
This method acknowledges the alerts.
Description
Acknowledges alerts. In one request, you can acknowledge only one of the following:
A specific alert
All alerts
A group of alerts based on the filters you provide
Privilege MONITORING_SETUP
HTTP response
codes
201
Example request
body
{
"AlertIds": [100,200,300],
"AllAlerts": true,
"Filters": {
"DeviceIds": [0],
"DeviceType": 0,
"Severity": 0,
"StatusType": 1000,
"StartDate": "",
"EndDate": "",
"SourceName": "",
"Category": 0,
"SubCategory": 0,
"Message": ""
}
}
Alerts 95