API Guide

Table Of Contents
PATCH method for event service
This method modifies the event service properties.
Description Modifies the event service properties.
Privilege APPLIANCE_SETUP
HTTP response
codes
200
Input
{
"ServiceEnabled": <true|false>
}
Example request
body
{
"@Message.ExtendedInfo": [
{
"Message": "Successfully Completed Request",
"MessageArgs": [],
"MessageArgs@odata.count": 0,
"MessageId": "Base.1.5.Success",
"RelatedProperties": [],
"RelatedProperties@odata.count": 0,
"Resolution": "None",
"Severity": "OK"
}
]
}
Table 213. Attributes
Attribute name Description
ServiceEnabled If the ServiceEnabled attribute is set to true, it enables
the event service.
/redfish/v1/EventService/Actions/EventService.SubmitTestEvent
This URI adds a test event to the event service, with the event data specified in the action parameters.
POST method for test event for event service
This method adds a test event to the event service, with the event data specified in the action parameters.
Description
Adds a test event to the event service, with the event data specified in the action parameters.
Privilege CHASSIS ADMINISTRATOR
HTTP response
codes
201
Example
response body
{
"EventType": "Alert",
"Message": "Power supply 1 is present.",
"MessageArgs": "1",
"MessageId": "PWR0000",
"Severity": "Informational"
}
756 Redfish resource model