Table of Contents

GetElementAlarmCountForView

Use this method to retrieve the elements 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 elements with the most/least alarms that should be retrieved.
sortASC Boolean Indicates whether the elements 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
GetElementAlarmCountForViewResult Array of DMATopAlarmCountData The elements with the largest/smallest number of alarms for each alarm severity.