API Guide
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
],
"Devices": [],
"DeviceTypes": [],
"Groups": [
4
],
"Schedule": {
"StartTime": null,
"EndTime": null,
"CronString": null
},
"Actions": [
{
"Id": 1,
"Name": "OnDemandHealth",
"ParameterDetails": [],
"TemplateId": 80
}
]
},
"State": true,
"Visible": true,
"PolicyActions": [
{
"@odata.id": "/api/AlertService/AlertPolicies(314)/PolicyActions"
}
],
"PolicyCriteria": [
{
"@odata.id": "/api/AlertService/AlertPolicies(314)/PolicyCriteria"
}
]
}
104
Alerts