Table of Contents

Method GetAlarmsForView

Namespace
Skyline.DataMiner.DcpChatIntegrationHelper.Common
Assembly
Skyline.DataMiner.DcpChatIntegrationHelper.dll

GetAlarmsForView(int, string, Guid, Guid, string)

Creates a button that request the DataMiner bot to show the alarms of the given view

public static AdaptiveSubmitAction GetAlarmsForView(int viewId, string viewName, Guid organizationId, Guid dmsId, string title = "Alarms")

Parameters

viewId int

The ID of the view

viewName string

The name of the view

organizationId Guid

The ID of the organization on dataminer.services where the DMS with dmsId is part of

dmsId Guid

The ID of the DMS on dataminer.services where the view with viewId is part of

title string

The button text

Returns

AdaptiveSubmitAction

The button that can be added in AdaptiveCards.AdaptiveActionSet.Actions of the AdaptiveCards.AdaptiveActionSet (AdaptiveCards.AdaptiveElement)