Developers Guide

Table Of Contents
Table 48. Attributes (continued)
Attribute name Description
StatusType ID of status type.
StatusName Name of status type.
TimeStamp Date and time when the alert was raised.
Message Message describing the issue.
EemiMessage Event and Error Message describing the issue, if applicable.
RecommendedAction Recommended action for the alert.
AlertMessageId Event and Alert Message ID associated with the issue.
AlertVarBindDetails List of variable bindings of the alert, if applicable.
AlertMessageType Type of messageInternal, SNMP, Redfish, and so on.
/api/AlertService/Alerts?$filter=contains(UserName,'admin')
This URL represents alerts by username and role.
GET method for Alerts?$filter=contains(UserName,'admin')
This method returns alerts by username and role.
Description
Returns alerts by username and role.
Privilege VIEW
HTTP response
code
200
Example
response body
{
"@odata.context": "/api/$metadata#Collection(AlertService.Alert)",
"@odata.count": 0,
"value":[
]
}
/api/AlertService/Alerts?$filter=StatusType eq 2000
This URL represents the alerts by status type.
GET method for Alerts?$filter=StatusType eq 2000
This method returns alerts by status type.
Description
Returns alerts by status type.
Privilege VIEW
HTTP response
code
200
Example
response body
{
"@odata.context": "/api/$metadata#Collection(AlertService.Alert)",
"@odata.count": 227,
"value":[
92 Alerts