API Guide
"Message": "The system board battery is low.",
"MessageArgs": ["arg1", “arg2”],
"MessageId": "BAT0000",
"Severity": "Warning"
}
Output:
/api/AlertService/Actions/AlertService.Acknowledge
POST method for AlertService.Acknowledge
This method acknowledges the alerts.
Description Acknowledges alerts. In one request, you can acknowledge only one of the following:
• A specific alert
• All alerts
• A group of alerts based on the filters you provide
Privilege MONITORING_SETUP
HTTP response
codes
201
Example
Input:
{
"AlertIds": [100,200,300],
"AllAlerts": true,
"Filters": {
"DeviceIds": [0],
"DeviceType": 0,
"Severity": 0,
"StatusType": 1000,
"StartDate": "",
"EndDate": "",
"SourceName": "",
"Category": 0,
"SubCategory": 0,
"Message": ""
}
}
Output:
Table 60. Attributes
Attribute Description
AlertIds List of alert IDs. This value is an empty list when AllAlerts is True.
AllAlerts True or False. Determines if action should be taken for all alerts.
Filters Optional filters to specify when AllAlerts is True.
DeviceIds List of IDs of devices.
DeviceType Device type ID.
Severity ID of severity.
StatusType ID of status type.
StartDate Start date and time when the alerts were raised.
EndDate End date and time when the alerts were raised.
Alerts 83