API Guide

Table Of Contents
Table 68. Attributes (continued)
Attribute name Description
ComparisonTypeName Name of comparison type.
/api/AlertService/AlertPolicies(Arg1)/PolicyActions
This URI represents the actions associated with a policy.
Table 69. Filters
Attribute name Description
Top Top records to return. Default value is 100.
Skip Maximum records to skip. Default value is 0.
Arg1 Filter by list of policies IDs. Default value is 0.
Id Filter by list of action IDs. Default value is 0.
TemplateId Filter by list of template IDs. Default value is 0.
GET method for PolicyActions
This method returns the actions that a policy can trigger.
Description
Returns the actions that a policy can trigger.
Privilege VIEW
HTTP response
codes
200
Example
response body
{
"@odata.context": "$metadata#Collection(AlertService.PolicyAction)",
"@odata.count": 1,
"value": [
{
"@odata.id": "/api/AlertService/AlertPolicies(314)/
PolicyActions(1)",
"Id": 1,
"PolicyId": 314,
"Name": "OnDemandHealth",
"Parameters": "",
"TemplateId": 80,
"Template": {
"Id": 80,
"Name": "OnDemandHealth",
"Description": "OnDemandHealth",
"Disabled": false,
"ParameterDetails": []
}
}
]
}
Table 70. 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.
140 Alerts