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
intThe ID of the view
viewName
stringThe name of the view
organizationId
GuidThe ID of the organization on dataminer.services where the DMS with
dmsId
is part ofdmsId
GuidThe ID of the DMS on dataminer.services where the view with
viewId
is part oftitle
stringThe button text
Returns
- AdaptiveSubmitAction
The button that can be added in AdaptiveCards.AdaptiveActionSet.Actions of the AdaptiveCards.AdaptiveActionSet (AdaptiveCards.AdaptiveElement)