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-02T15:48:05.1322624+10:00",
"AcknowledgementUserID": "4d1f946e-689f-4020-bf81-787cda9ee9fc",
"AlertDate": "2026-03-02T15:48:05.1322624",
"ResendWaitTimeMinutes": 9,
"MaxRepeat": 10,
"ObjectID": "ee6639a2-d4a0-4770-99ea-252137b02a4a",
"ObjectType": 10,
"IgnoreDate": "2026-03-02T15:48:05.1322624+10:00",
"TriggerID": 1,
"Trigger": 0,
"GoodCounter": 11,
"AlertRecipients": [
{
"AlertID": "a16d1c0f-aa7d-42d0-9df3-e5ab3b2dad7e",
"UserID": "1e771343-67be-4c40-9524-f877d046aa60",
"EmailSent": "2026-03-02T15:48:05.1322624+10:00",
"SMSSent": "2026-03-02T15:48:05.1322624+10:00",
"GetsEmail": true,
"GetsSMS": true,
"ID": "c1aea9f7-a9c9-40a6-afd5-b7207ddf8ebb",
"IntID": 0,
"ObjectInfo": {
"ID": "c1aea9f7-a9c9-40a6-afd5-b7207ddf8ebb",
"IntID": 0,
"Type": -1,
"Valid": false,
"IsEmpty": false
}
},
{
"AlertID": "a16d1c0f-aa7d-42d0-9df3-e5ab3b2dad7e",
"UserID": "1e771343-67be-4c40-9524-f877d046aa60",
"EmailSent": "2026-03-02T15:48:05.1322624+10:00",
"SMSSent": "2026-03-02T15:48:05.1322624+10:00",
"GetsEmail": true,
"GetsSMS": true,
"ID": "c1aea9f7-a9c9-40a6-afd5-b7207ddf8ebb",
"IntID": 0,
"ObjectInfo": {
"ID": "c1aea9f7-a9c9-40a6-afd5-b7207ddf8ebb",
"IntID": 0,
"Type": -1,
"Valid": false,
"IsEmpty": false
}
}
],
"LastHandled": "2026-03-02T15:48:05.1322624+10:00",
"ActionRequired": true,
"ObjectInfo": {
"ID": "3af1c0dd-b8ed-4869-b06d-79b5e4b05033",
"IntID": 0,
"Type": 800,
"Valid": true,
"IsEmpty": false
},
"ID": "3af1c0dd-b8ed-4869-b06d-79b5e4b05033",
"IntID": 0
}
application/x-www-form-urlencoded
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": "827d1c1b-57cf-4723-9789-3eb5d6d30f0b",
"LastHandled": "2026-03-02T15:48:05.163709+10:00",
"Message": "sample string 2",
"AlertType": 0,
"AlertDate": "2026-03-02T15:48:05.163709+10:00",
"RepeatCounter": 4,
"Category": "sample string 5",
"SubCategory": "sample string 6",
"IsEmail": true,
"IsSMS": true,
"RequiresAcknowledgement": true,
"AcknowledgedDate": "2026-03-02T15:48:05.163709+10:00",
"AcknowledgementUserId": "0f69c645-9b80-4fbd-8f2c-873987cf354e",
"ResendWaitTimeMinutes": 10,
"ObjectType": 10,
"ObjectId": "26642f59-5b1e-4cc3-9c38-6c6f5716d642",
"IgnoreDate": "2026-03-02T15:48:05.163709+10:00",
"TriggerID": 1,
"Trigger": 0,
"AlertRecipients": [
{
"AlertId": "8f2de917-4474-40bf-a874-f03612a23fda",
"GetsEmail": true,
"GetsSMS": true,
"EmailSent": "2026-03-02T15:48:05.163709+10:00",
"SMSSent": "2026-03-02T15:48:05.163709+10:00"
},
{
"AlertId": "8f2de917-4474-40bf-a874-f03612a23fda",
"GetsEmail": true,
"GetsSMS": true,
"EmailSent": "2026-03-02T15:48:05.163709+10:00",
"SMSSent": "2026-03-02T15:48:05.163709+10:00"
}
]
},
{
"ID": "827d1c1b-57cf-4723-9789-3eb5d6d30f0b",
"LastHandled": "2026-03-02T15:48:05.163709+10:00",
"Message": "sample string 2",
"AlertType": 0,
"AlertDate": "2026-03-02T15:48:05.163709+10:00",
"RepeatCounter": 4,
"Category": "sample string 5",
"SubCategory": "sample string 6",
"IsEmail": true,
"IsSMS": true,
"RequiresAcknowledgement": true,
"AcknowledgedDate": "2026-03-02T15:48:05.163709+10:00",
"AcknowledgementUserId": "0f69c645-9b80-4fbd-8f2c-873987cf354e",
"ResendWaitTimeMinutes": 10,
"ObjectType": 10,
"ObjectId": "26642f59-5b1e-4cc3-9c38-6c6f5716d642",
"IgnoreDate": "2026-03-02T15:48:05.163709+10:00",
"TriggerID": 1,
"Trigger": 0,
"AlertRecipients": [
{
"AlertId": "8f2de917-4474-40bf-a874-f03612a23fda",
"GetsEmail": true,
"GetsSMS": true,
"EmailSent": "2026-03-02T15:48:05.163709+10:00",
"SMSSent": "2026-03-02T15:48:05.163709+10:00"
},
{
"AlertId": "8f2de917-4474-40bf-a874-f03612a23fda",
"GetsEmail": true,
"GetsSMS": true,
"EmailSent": "2026-03-02T15:48:05.163709+10:00",
"SMSSent": "2026-03-02T15:48:05.163709+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-02T15:48:05.163709+10:00",
"BuildDateUTC": "2026-03-02T15:48:05.163709+10:00"
},
"VersionInformation": {
"Major": 1,
"Minor": 8,
"Hotfix": 0,
"Beta": true,
"Version": "1.8.0.BETA"
}
}