Table of Contents

GetElementAlarmStatesForView

Use this method to retrieve the relative duration (in percent) of each alarm severity for the elements in 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 that should be included.
sortASC Boolean Indicates whether the info should be retrieved for the elements that were in an alarm state for the longest time or for the shortest time.
utcStartTime Long integer The start time of the timespan for which the alarm durations 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 durations should be retrieved, in UTC format (milliseconds since midnight January 1, 1970 GMT).

Output

Item Format Description
GetElementAlarmStatesForViewResult Array of DMATopAlarmStateData The relative duration (double) of each alarm severity for the elements within the specified limitations.