Reference Guide

Table Of Contents
Table 60. Attributes (continued)
Attribute Description
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.
SourceName Source of the alert.
Category Category ID associated to the alert.
SubCategory Subcategory ID associated to the alert.
Message Description of the issue.
/api/AlertService/Actions/AlertService.RemoveAlerts
POST method for AlertService.RemoveAlerts
This method removes the alerts.
Description Removes the alerts. In one request, you can remove 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 request
body
{
"AlertIds": [100,200,300],
"AllAlerts": true,
"Filters": {
"DeviceIds": [0],
"DeviceType": 0,
"Severity": 0,
"StatusType": 1000,
"StartDate": "",
"EndDate": "",
"SourceName": "",
"Category": 0,
"SubCategory": 0,
"Message": ""
}
}
Table 61. 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.
Alerts 137