API Guide

Table Of Contents
},
{
"Name": "message",
"Value": "Event occurred for Device Name: $name, Device
IP Address: $ip, Service Tag: $identifier, Time: $time, Severity:
$severity, $message",
"Type": "string",
"TypeParams": [
{
"Name": "maxLength",
"Value": "255"
}
]
}
],
"TemplateId": 50
}
]
},
"State": true
}
/api/AlertService/AlertPolicies(Id)
This URI represents a specific policy within the collection.
GET method for AlertPolicies(Id)
This method returns the details of a specific policy.
Description
Returns the details of a specific policy.
Privilege VIEW
HTTP response
codes
200
Example
response body
{
"@odata.context": "$metadata#AlertService.AlertPolicy/$entity",
"@odata.id": "/api/AlertService/AlertPolicies(314)",
"Id": 314,
"Name": "Default OnDemand Health Policy",
"Description": "This policy is applicable to all devices. A health
task will be triggered if category is for system health.",
"Enabled": true,
"DefaultPolicy": true,
"PolicyData": {
"Catalogs": [
{
"CatalogName": "iDRAC",
"Categories": [
3300
],
"SubCategories": [
0
]
}
],
"Severities": [
1,
2,
4,
8,
16
],
132
Alerts