Integration Server 10.15 | Built-In Services Reference Guide | Alert Folder | Summary of Elements in this Folder | pub.alert:countAll
 
pub.alert:countAll
WmPublic. Gets the count of all alerts in the system, read and unread, or a subset of alerts that meet the filter criteria.
Input Parameters
filter
Document. Optional. To get the count of a subset of alerts, specify the criteria using the following keys:
Key
Description
startTime
Long. Optional. Start of the time interval in which alerts are emitted. Specify the value in UNIX epoch format in milliseconds.
endTime
Long. Optional. End of the time interval in which alerts are emitted. Specify the value in UNIX epoch format in milliseconds.
severities
String[]. Optional. List of severities.
channelIds
Object[]. Optional. List of channel identifiers.
user
String. Optional. The Integration Server user who triggered the alerts or Administrator for alerts emitted by the server. For example, specify Administrator for Password Management alerts.
keyword
String. Optional. A keyword that identifies the alerts.
Output Parameters
count
Long. The count of all alerts in the system, read and unread, or a subset of alerts, if the filter criteria are passed as inputs.
Usage Notes
To get the count of all alerts in the system, read and unread, do not specify the filter criteria as inputs.