API Guide
"PolicyId": 314,
"Name": "OnDemandHealth",
"Parameters": "",
"TemplateId": 80,
"Template": {
"Id": 80,
"Name": "OnDemandHealth",
"Description": "OnDemandHealth",
"Disabled": false,
"ParameterDetails": []
}
}
Table 71. Attributes
Attribute name Description
Id ID of the criteria.
PolicyId ID of the policy with which the action is associated.
Name Name of the action.
Parameters Extra parameter that can be added to the action.
TemplateId ID of the action template associated with the action.
Template
Id ID of the template.
Name Name of the template.
Description Extra description of the template.
Disabled Indicates if template is enabled or disabled.
ParameterDetails List of other parameter that the template can carry and apply.
/api/AlertService/AlertActionTemplates
This URI represents the alert-action templates.
GET method for AlertActionTemplates
This method returns the alert-action templates.
Description
Privilege VIEW
HTTP response
codes
200
Example
response body
{
"@odata.context":
"$metadata#Collection(AlertService.AlertActionTemplate)",
"@odata.count": 5,
"value": [
{
"@odata.id": "/api/AlertService/AlertActionTemplates(50)",
"Id": 50,
"Name": "Email",
"Description": "Email",
"Disabled": true,
"ParameterDetails": []
},
Alerts 113