API Guide

"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"
}
]
}
]
}
Table 63. Attributes
Attribute name Description
Id Event record ID.
Name Name associated with the policy.
Description Description associated with the policy.
Enabled Indicates if the policy is enabled or disabled.
DefaultPolicy Indicates if the policy is the default policy or pre-seeded.
Alerts 99