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
viewIdintThe ID of the view
viewNamestringThe name of the view
organizationIdGuidThe ID of the organization on dataminer.services where the DMS with
dmsIdis part ofdmsIdGuidThe ID of the DMS on dataminer.services where the view with
viewIdis part oftitlestringThe button text
Returns
- AdaptiveSubmitAction
The button that can be added in AdaptiveCards.AdaptiveActionSet.Actions of the AdaptiveCards.AdaptiveActionSet (AdaptiveCards.AdaptiveElement)