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 |
The number of times this Alert has repeated |
integer |
None. |
| Category |
Category for the Alert |
string |
None. |
| SubCategory |
SubCategory for the Alert |
string |
None. |
| Message |
Message for the Alert |
string |
None. |
| SMSFriendlyMessage |
Message for the Alert in an "SMS Friendly" format |
string |
None. |
| AlertType |
Type for the Alert, such as or |
AlertType |
None. |
| IsEmail |
Whether or not this Alert is to utilise Email |
boolean |
None. |
| IsSMS |
Whether or not this Alert is to utilise SMS |
boolean |
None. |
| RequiresAcknowledgement |
Whether or not this Alert requires acknowledgement |
boolean |
None. |
| AcknowledgedDate |
Date and Time for when this Alert has been acknowledged |
date |
None. |
| AcknowledgementUserID |
ID of the User that has acknowledged this Alert |
globally unique identifier |
None. |
| AlertDate |
Date and Time for when the Alert happened |
date |
None. |
| ResendWaitTimeMinutes |
Resend Wait Time for the Alert (in minutes), to be used if it is to repeat |
integer |
None. |
| MaxRepeat |
Maximum number of repeats for this Alert |
integer |
None. |
| ObjectID |
ID for the Object this Alert is associated with |
globally unique identifier |
None. |
| ObjectType |
Type for the Object this Alert is associated with |
OwnerType |
None. |
| IgnoreDate |
Date and Time that this Alert has been ignored |
date |
None. |
| SourceID |
ID of the Source of this Alert, if available |
globally unique identifier |
None. |
| SourceIntID |
ID of the Source of this Alert, if available |
integer |
None. |
| SourceType |
The Type for the object that is the Source of this Alert, such as a ReadingBand or Schedule |
TriggerType |
None. |
| SourceInfo |
Information about the Source of this Alert |
string |
None. |
| GoodCounter |
Counter for the number of consecutive "Good" readings |
integer |
None. |
| AlertRecipients |
List of recipients for this Alert |
Collection of AlertRecipient |
None. |
| LastHandled |
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. |
| CreateDt |
Gets Create date/time |
date |
None. |
| UpdateDt |
Gets last update date/time |
date |
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-08-24T17:01:55.5748776+10:00",
"AcknowledgementUserID": "d9c12831-d8eb-4d18-9638-a4ab2fb9e05d",
"AlertDate": "2026-08-24T17:01:55.5906779",
"ResendWaitTimeMinutes": 9,
"MaxRepeat": 10,
"ObjectID": "a977842b-319f-4039-90b3-a05643ec838a",
"ObjectType": 10,
"IgnoreDate": "2026-08-24T17:01:55.5748776+10:00",
"SourceID": "cab22dbc-ebb8-4159-82ba-15ffd0916403",
"SourceIntID": 12,
"SourceType": 0,
"SourceInfo": "ReadingBand 12",
"GoodCounter": 13,
"AlertRecipients": [
{
"AlertID": "86742f94-9175-4652-9788-9ed2bfb5df7f",
"UserID": "1c136ea3-cb68-435f-a94e-db0c02b44c47",
"EmailSent": "2026-08-24T17:01:55.5748776+10:00",
"SMSSent": "2026-08-24T17:01:55.5748776+10:00",
"GetsEmail": true,
"GetsSMS": true,
"ID": "783b5c4d-4af2-4e1e-90dc-3be5e6cf54a4",
"IntID": 0,
"CreateDt": "2026-08-24T17:01:55.6376052",
"UpdateDt": "2026-08-24T17:01:55.6529021",
"ObjectInfo": {
"ID": "783b5c4d-4af2-4e1e-90dc-3be5e6cf54a4",
"IntID": 0,
"Type": -1,
"Valid": false,
"IsEmpty": false
}
},
{
"AlertID": "86742f94-9175-4652-9788-9ed2bfb5df7f",
"UserID": "1c136ea3-cb68-435f-a94e-db0c02b44c47",
"EmailSent": "2026-08-24T17:01:55.5748776+10:00",
"SMSSent": "2026-08-24T17:01:55.5748776+10:00",
"GetsEmail": true,
"GetsSMS": true,
"ID": "783b5c4d-4af2-4e1e-90dc-3be5e6cf54a4",
"IntID": 0,
"CreateDt": "2026-08-24T17:01:55.6376052",
"UpdateDt": "2026-08-24T17:01:55.6529021",
"ObjectInfo": {
"ID": "783b5c4d-4af2-4e1e-90dc-3be5e6cf54a4",
"IntID": 0,
"Type": -1,
"Valid": false,
"IsEmpty": false
}
}
],
"LastHandled": "2026-08-24T17:01:55.5748776+10:00",
"ActionRequired": true,
"ObjectInfo": {
"ID": "2a669a3f-7b6c-4408-9263-9c7714b6d743",
"IntID": 0,
"Type": 800,
"Valid": true,
"IsEmpty": false
},
"ID": "2a669a3f-7b6c-4408-9263-9c7714b6d743",
"IntID": 0,
"CreateDt": "2026-08-24T17:01:55.5906779",
"UpdateDt": "2026-08-24T17:01:55.6529021"
}
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": "6cde514c-dc37-4be2-81ad-0c1f0b6bfdb0",
"LastHandled": "2026-08-24T17:01:55.6997725+10:00",
"Message": "sample string 2",
"AlertType": 0,
"AlertDate": "2026-08-24T17:01:55.6997725+10:00",
"RepeatCounter": 4,
"Category": "sample string 5",
"SubCategory": "sample string 6",
"IsEmail": true,
"IsSMS": true,
"RequiresAcknowledgement": true,
"AcknowledgedDate": "2026-08-24T17:01:55.6997725+10:00",
"AcknowledgementUserId": "794aa837-6cc6-4049-9dd8-619447db39cc",
"ResendWaitTimeMinutes": 10,
"ObjectType": 10,
"ObjectId": "e41dc50b-df54-4c3f-8644-4d45a43c42b3",
"IgnoreDate": "2026-08-24T17:01:55.6997725+10:00",
"SourceID": 1,
"SourceType": 0,
"AlertRecipients": [
{
"AlertId": "3e5a4184-024b-42e7-b5c1-2471a3cbd4a8",
"GetsEmail": true,
"GetsSMS": true,
"EmailSent": "2026-08-24T17:01:55.6997725+10:00",
"SMSSent": "2026-08-24T17:01:55.6997725+10:00"
},
{
"AlertId": "3e5a4184-024b-42e7-b5c1-2471a3cbd4a8",
"GetsEmail": true,
"GetsSMS": true,
"EmailSent": "2026-08-24T17:01:55.6997725+10:00",
"SMSSent": "2026-08-24T17:01:55.6997725+10:00"
}
]
},
{
"ID": "6cde514c-dc37-4be2-81ad-0c1f0b6bfdb0",
"LastHandled": "2026-08-24T17:01:55.6997725+10:00",
"Message": "sample string 2",
"AlertType": 0,
"AlertDate": "2026-08-24T17:01:55.6997725+10:00",
"RepeatCounter": 4,
"Category": "sample string 5",
"SubCategory": "sample string 6",
"IsEmail": true,
"IsSMS": true,
"RequiresAcknowledgement": true,
"AcknowledgedDate": "2026-08-24T17:01:55.6997725+10:00",
"AcknowledgementUserId": "794aa837-6cc6-4049-9dd8-619447db39cc",
"ResendWaitTimeMinutes": 10,
"ObjectType": 10,
"ObjectId": "e41dc50b-df54-4c3f-8644-4d45a43c42b3",
"IgnoreDate": "2026-08-24T17:01:55.6997725+10:00",
"SourceID": 1,
"SourceType": 0,
"AlertRecipients": [
{
"AlertId": "3e5a4184-024b-42e7-b5c1-2471a3cbd4a8",
"GetsEmail": true,
"GetsSMS": true,
"EmailSent": "2026-08-24T17:01:55.6997725+10:00",
"SMSSent": "2026-08-24T17:01:55.6997725+10:00"
},
{
"AlertId": "3e5a4184-024b-42e7-b5c1-2471a3cbd4a8",
"GetsEmail": true,
"GetsSMS": true,
"EmailSent": "2026-08-24T17:01:55.6997725+10:00",
"SMSSent": "2026-08-24T17:01:55.6997725+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-08-24T17:01:55.6997725+10:00",
"BuildDateUTC": "2026-08-24T17:01:55.6997725+10:00"
},
"VersionInformation": {
"Major": 1,
"Minor": 8,
"Hotfix": 0,
"Beta": true,
"Version": "1.8.0.BETA"
}
}