API Guide

Table 71. Attributes(continued)
Attribute name Description
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
Input:
Output:
{
"@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": []
},
{
"@odata.id": "/api/AlertService/AlertActionTemplates(60)",
"Id": 60,
"Name": "Trap",
"Description": "Trap",
"Disabled": true,
"ParameterDetails": []
},
{
"@odata.id": "/api/AlertService/AlertActionTemplates(90)",
"Id": 90,
"Name": "Syslog",
"Description": "Syslog",
"Disabled": true,
"ParameterDetails": []
},
{
"@odata.id": "/api/AlertService/AlertActionTemplates(80)",
"Id": 80,
"Name": "OnDemandHealth",
"Description": "OnDemandHealth",
"Disabled": false,
"ParameterDetails": []
},
{
"@odata.id": "/api/AlertService/AlertActionTemplates(100)",
"Id": 100,
"Name": "Ignore",
"Description": "Ignore",
"Disabled": false,
"ParameterDetails": []
}
100
Alerts