Privilege: ConfigureManager, Login
NOTE: Subscription containing EventTypes with value as both Alert and MetricReport is not supported as Redfish supports only one value.
NOTE: The parameter for the property DeliveryRetryPolicy is set to RetryForever by default. RetryForever may result in some data loss in Metric reports while there are multiple instances of delivery retries. To avoid any data loss, ensure that DeliveryRetryPolicy is set to SuspendRetries or TerminateAfterRetries.
username:passwordAuthorization: Basic *****************X-Auth-Token: ********************curl --location '/redfish/v1/EventService/Subscriptions' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{}'{
"error": {
"@Message.ExtendedInfo": [
{}
],
"code": "string",
"message": "string"
}
}