POST api/Alert
Creates a new instance of an Alert in the database.
Request Information
URI Parameters
None.
Body Parameters
The model to use
Alert| Name | Description | Type | Additional information |
|---|---|---|---|
| RepeatCounter |
Gets or sets the alert repeat counter |
integer |
None. |
| Category |
Gets or sets the alert category it belongs too |
string |
None. |
| SubCategory |
Gets or sets the alert sub category it belongs too |
string |
None. |
| Message |
Gets or sets the message |
string |
None. |
| SMSFriendlyMessage |
Gets or sets the message that is "SMS Friendly" |
string |
None. |
| AlertType |
Gets or sets the alert type |
AlertType |
None. |
| IsEmail |
Gets or sets whether the alert is for email |
boolean |
None. |
| IsSMS |
Gets or sets whether the alert is for sms |
boolean |
None. |
| RequiresAcknowledgement |
Gets or sets the requires acknowledgement |
boolean |
None. |
| AcknowledgedDate |
Gets or sets the date the alert was acknowledged |
date |
None. |
| AcknowledgementUserID |
Gets or sets the id of the user the alert was acknowleged by |
globally unique identifier |
None. |
| AlertDate |
Gets the alert date |
date |
None. |
| ResendWaitTimeMinutes |
Gets or sets the resend wait time in minutes |
integer |
None. |
| MaxRepeat |
Gets or sets the maximum repeats for an alert |
integer |
None. |
| ObjectID |
Gets or sets the ID of the object this alert is for |
globally unique identifier |
None. |
| ObjectType |
Gets or sets the type of object this alert is for |
OwnerType |
None. |
| IgnoreDate |
Gets or sets the ignore date. |
date |
None. |
| TriggerID |
Gets or sets the ID of the Band or Configured Alert that triggered this, if relevant. |
integer |
None. |
| Trigger |
Gets or sets the Type of Trigger for this alert. |
TriggerType |
None. |
| GoodCounter |
Gets or sets the counter for consecutive Good Readings |
integer |
None. |
| AlertRecipients |
Gets or sets the list of alert recipients |
Collection of AlertRecipient |
None. |
| LastHandled |
The Date and Time this alert was last handled |
date |
None. |
| ActionRequired |
Whether or not an action is required for this alert |
boolean |
None. |
| ObjectInfo |
Basic information for this object |
ObjectInfo |
None. |
| ID |
Gets ID for this record |
globally unique identifier |
None. |
| IntID |
Gets Integer ID for this record |
integer |
None. |
Request Formats
application/json, text/json, text/html
{
"RepeatCounter": 1,
"Category": "sample string 2",
"SubCategory": "sample string 3",
"Message": "sample string 4",
"SMSFriendlyMessage": "sample string 5",
"AlertType": 0,
"IsEmail": true,
"IsSMS": true,
"RequiresAcknowledgement": true,
"AcknowledgedDate": "2026-03-22T07:50:42.049044+10:00",
"AcknowledgementUserID": "442a13d8-1b5c-4b21-ac33-50018e52ef9d",
"AlertDate": "2026-03-22T07:50:42.0646446",
"ResendWaitTimeMinutes": 9,
"MaxRepeat": 10,
"ObjectID": "b32dc161-8d02-4193-a8fa-b41fcf35977b",
"ObjectType": 10,
"IgnoreDate": "2026-03-22T07:50:42.049044+10:00",
"TriggerID": 1,
"Trigger": 0,
"GoodCounter": 11,
"AlertRecipients": [
{
"AlertID": "9116d2f1-9aad-4bd4-bf8c-b6b874f7b490",
"UserID": "e9bce2d4-39df-4f42-bcde-376d2043625e",
"EmailSent": "2026-03-22T07:50:42.049044+10:00",
"SMSSent": "2026-03-22T07:50:42.049044+10:00",
"GetsEmail": true,
"GetsSMS": true,
"ID": "28ac93ac-40c9-477f-9f03-936b628ceeeb",
"IntID": 0,
"ObjectInfo": {
"ID": "28ac93ac-40c9-477f-9f03-936b628ceeeb",
"IntID": 0,
"Type": -1,
"Valid": false,
"IsEmpty": false
}
},
{
"AlertID": "9116d2f1-9aad-4bd4-bf8c-b6b874f7b490",
"UserID": "e9bce2d4-39df-4f42-bcde-376d2043625e",
"EmailSent": "2026-03-22T07:50:42.049044+10:00",
"SMSSent": "2026-03-22T07:50:42.049044+10:00",
"GetsEmail": true,
"GetsSMS": true,
"ID": "28ac93ac-40c9-477f-9f03-936b628ceeeb",
"IntID": 0,
"ObjectInfo": {
"ID": "28ac93ac-40c9-477f-9f03-936b628ceeeb",
"IntID": 0,
"Type": -1,
"Valid": false,
"IsEmpty": false
}
}
],
"LastHandled": "2026-03-22T07:50:42.049044+10:00",
"ActionRequired": true,
"ObjectInfo": {
"ID": "be68617c-212e-4266-a59c-d4506f1db085",
"IntID": 0,
"Type": 800,
"Valid": true,
"IsEmpty": false
},
"ID": "be68617c-212e-4266-a59c-d4506f1db085",
"IntID": 0
}
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
Http Status code indicating result.
GetAlertResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Alerts |
Array of Alerts |
Collection of AlertStruct |
None. |
| Messages |
Array of messages |
Collection of Message |
None. |
| ServerInformation |
Relevant information regarding the Server |
ServerInformation |
None. |
| VersionInformation |
Relevant information regarding the API's version |
VersionInformation |
None. |
Response Formats
application/json, text/json, text/html
{
"Alerts": [
{
"ID": "6ac50a19-40a7-406d-ad95-23ed958b9886",
"LastHandled": "2026-03-22T07:50:42.127139+10:00",
"Message": "sample string 2",
"AlertType": 0,
"AlertDate": "2026-03-22T07:50:42.127139+10:00",
"RepeatCounter": 4,
"Category": "sample string 5",
"SubCategory": "sample string 6",
"IsEmail": true,
"IsSMS": true,
"RequiresAcknowledgement": true,
"AcknowledgedDate": "2026-03-22T07:50:42.127139+10:00",
"AcknowledgementUserId": "81e62d0a-f6c1-4daf-9daa-607d60ab840f",
"ResendWaitTimeMinutes": 10,
"ObjectType": 10,
"ObjectId": "d269e8d5-a4a5-4d09-b0e5-7d860298ecb5",
"IgnoreDate": "2026-03-22T07:50:42.127139+10:00",
"TriggerID": 1,
"Trigger": 0,
"AlertRecipients": [
{
"AlertId": "8e67fce8-f8ae-4afc-bd32-82c4f36e28e1",
"GetsEmail": true,
"GetsSMS": true,
"EmailSent": "2026-03-22T07:50:42.127139+10:00",
"SMSSent": "2026-03-22T07:50:42.127139+10:00"
},
{
"AlertId": "8e67fce8-f8ae-4afc-bd32-82c4f36e28e1",
"GetsEmail": true,
"GetsSMS": true,
"EmailSent": "2026-03-22T07:50:42.127139+10:00",
"SMSSent": "2026-03-22T07:50:42.127139+10:00"
}
]
},
{
"ID": "6ac50a19-40a7-406d-ad95-23ed958b9886",
"LastHandled": "2026-03-22T07:50:42.127139+10:00",
"Message": "sample string 2",
"AlertType": 0,
"AlertDate": "2026-03-22T07:50:42.127139+10:00",
"RepeatCounter": 4,
"Category": "sample string 5",
"SubCategory": "sample string 6",
"IsEmail": true,
"IsSMS": true,
"RequiresAcknowledgement": true,
"AcknowledgedDate": "2026-03-22T07:50:42.127139+10:00",
"AcknowledgementUserId": "81e62d0a-f6c1-4daf-9daa-607d60ab840f",
"ResendWaitTimeMinutes": 10,
"ObjectType": 10,
"ObjectId": "d269e8d5-a4a5-4d09-b0e5-7d860298ecb5",
"IgnoreDate": "2026-03-22T07:50:42.127139+10:00",
"TriggerID": 1,
"Trigger": 0,
"AlertRecipients": [
{
"AlertId": "8e67fce8-f8ae-4afc-bd32-82c4f36e28e1",
"GetsEmail": true,
"GetsSMS": true,
"EmailSent": "2026-03-22T07:50:42.127139+10:00",
"SMSSent": "2026-03-22T07:50:42.127139+10:00"
},
{
"AlertId": "8e67fce8-f8ae-4afc-bd32-82c4f36e28e1",
"GetsEmail": true,
"GetsSMS": true,
"EmailSent": "2026-03-22T07:50:42.127139+10:00",
"SMSSent": "2026-03-22T07:50:42.127139+10:00"
}
]
}
],
"Messages": [
{
"Severity": 0,
"MessageCode": 1,
"CodeDesc": 2,
"MessageText": "sample string 3",
"RecordNumber": 4
},
{
"Severity": 0,
"MessageCode": 1,
"CodeDesc": 2,
"MessageText": "sample string 3",
"RecordNumber": 4
}
],
"ServerInformation": {
"CurrentTimeUTC": "2026-03-22T07:50:42.127139+10:00",
"BuildDateUTC": "2026-03-22T07:50:42.127139+10:00"
},
"VersionInformation": {
"Major": 1,
"Minor": 8,
"Hotfix": 0,
"Beta": true,
"Version": "1.8.0.BETA"
}
}