GetActiveAlarmsForServiceSortedV2
Use this method to retrieve a specific number of active service alarms along with the alarm cache status.
Note
Using this method, you can for example request alarms in batches in order to minimize loading time.
Input
| Item | Format | Description |
|---|---|---|
| connection | String | The connection ID. See ConnectApp. |
| dmaID | Integer | The DataMiner Agent ID |
| serviceID | Integer | The service ID. |
| groupOn | String | The field by which to group the alarms. This can be a severity (for example, “critical”, “major”, etc.) or a relative time string (for example, “yesterday”, “last week”, etc.) |
| index | Integer | The point from which to start returning alarms. |
| count | Integer | The number of alarms to be returned. |
| orderBy | String | The Alarm Console column(s) by which to order the alarms (separated by semicolons). |
Note
The possible groupOn values for this method are usually first retrieved by the GetActiveAlarmPagesForService method.
Output
| Item | Format | Description |
|---|---|---|
| GetActiveAlarmsForServiceSortedV2Result | Array of DMAAlarm | The requested number of active service alarms, sorted as specified, as well as the alarm cache status. |