Table of Contents

GetServiceAlarmCountForView

Use this method to retrieve the services with the largest/smallest number of alarms for each alarm severity for the specified view.

Input

Item Format Description
connection String The connection ID. See ConnectApp.
viewID Integer The view ID.
limit Integer The number of services with the most/least alarms that should be retrieved.
sortASC Boolean Indicates whether the services with the largest or the smallest number of alarms should be retrieved.
utcStartTime Long integer The start time of the timespan for which the alarm count should be retrieved, in UTC format (milliseconds since midnight January 1, 1970 GMT).
utcEndTime Long integer The end time of the timespan for which the alarm count should be retrieved, in UTC format (milliseconds since midnight January 1, 1970 GMT).

Output

Item Format Description
GetServiceAlarmCountForViewResult Array of DMATopAlarmCountData The services with the largest/smallest number of alarms for each alarm severity.