Request URL
GET https://api.dotcom-monitor.com/config_api_v1/template/{template_id}
Path Parameters
Field | Type | Required | Description |
---|---|---|---|
template_id |
string |
true |
The alert template unique id. |
Success Response
Fields Description
Field | Type | Description |
Id |
Int32 |
Template id
Example:
“Id”: 394 |
Name |
String |
Template name
Example:
“Name”: “HTML Template”
|
Subject |
String |
Letter Subject
Example:
“Subject”: “letter subject” |
Email_Reply_To |
String |
Example:
“Email_Reply_To”: “reply@company.com”
|
Template_Type |
String |
This Field defines template (message) type formatPossible values are “HTML” and “TXT”
Example:
“Template_Type”: “Txt”,
|
Error_Message |
String |
Error Message Text |
Test_Message |
String |
Example:
“Test_Message”: “This is a test alert for device \u003c%Site_Name%\u003e. If you have any questions please contact \u003c%Contact_Full_Name%\u003e” |
Uptime_Message |
String |
Example:
“Uptime_Message”: “Device \u003c%Site_Name%\u003e detected to be back online at \u003c%Monitor_DateTime%\u003e from monitoring location: \u003c%Location%\u003e” |
Assigned_To |
Array containing int32 values |
This array contains list of device ids where alert group was assigned.
Example:
“Assigned_To”: [8533, 8534,9756] |