PUT api/AlertSubscriptions
Update AlertSubscription
Request Information
URI Parameters
None.
Body Parameters
AlertSubscription to update
Update_AlertSubscription| Name | Description | Type | Additional information |
|---|---|---|---|
| ID |
Alert Subscription integer ID to be updated |
integer |
None. |
| Username |
The Username of the person subscribing |
string |
None. |
| ObjectID |
The Integer ID of the Object to handle |
integer |
None. |
| ObjectType |
The type of Object to handle |
OwnerType |
None. |
| AlertTypeThreshold |
The threshold for when an alert shall be sent |
AlertType |
None. |
| IncludeChildObjects |
Whether or not to include children objects under this object (i.e. include Devices under a DataNode) |
boolean |
None. |
| ReceiveEmail |
Whether or not to receive an email for this subscription |
boolean |
None. |
| ReceiveSMS |
Whether or not to receive an SMS for this subscription |
boolean |
None. |
| Enabled |
Whether or not this subscription is enabled |
boolean |
None. |
Request Formats
application/json, text/json, text/html
{
"ID": 1,
"Username": "sample string 2",
"ObjectID": 1,
"ObjectType": 10,
"AlertTypeThreshold": 0,
"IncludeChildObjects": true,
"ReceiveEmail": true,
"ReceiveSMS": true,
"Enabled": true
}
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
The updated AlertSubscription and any messages
GetAlertSubscriptionResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| AlertSubscriptions |
Array of Alerts |
Collection of AlertSubscription |
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
{
"AlertSubscriptions": [
{
"ID": 1,
"Enabled": true,
"Username": "sample string 3",
"ObjectName": "sample string 4",
"ObjectID": 5,
"ObjectType": 10,
"AlertTypeThreshold": 0,
"IncludeChildObjects": true,
"ReceiveEmail": true,
"ReceiveSMS": true
},
{
"ID": 1,
"Enabled": true,
"Username": "sample string 3",
"ObjectName": "sample string 4",
"ObjectID": 5,
"ObjectType": 10,
"AlertTypeThreshold": 0,
"IncludeChildObjects": true,
"ReceiveEmail": true,
"ReceiveSMS": true
}
],
"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": "2025-11-09T21:42:08.5351243+10:00",
"BuildDateUTC": "2025-11-09T21:42:08.5351243+10:00"
},
"VersionInformation": {
"Major": 1,
"Minor": 8,
"Hotfix": 0,
"Beta": true,
"Version": "1.8.0.BETA"
}
}