API Guide

/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": []
},
{
"@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": []
}
]
}
Table 72. Attributes
Attribute name Description
Id ID of the action template.
Name Name of the action template.
Alerts 113