AddMessageTemplateToNotificationAsync

Returns (Task)

Register Message Template to the designated Notification Action.

Name Description
notification The notification action to add the message template to
messageTemplate The message template to associate

Add Message Template To Notification Async

Example in C#

// Returns: nothing
await client.AddMessageTemplateToNotificationAsync(NotificationActionInfo notification, MessageTemplateInfo messageTemplate);

Example in CURL



           curl -X PUT \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/alarmactions/ALARMACTION.KEY/messagetemplate \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d 'MESSAGE_TEMPLATE_HREF'