PushNotificationAsync

Sends a push notification to specified recipients Returns (Task)

Request that Notifications are sent in the designated folder.

Name Description
folder The folder to push the notification from
request The push notification request containing recipients, message, and notification type

Push Notification Async

Example in C#

// Returns: nothing
await client.PushNotificationAsync(FolderInfo folder, PushNotificationRequest request);

Example in CURL



           curl -X DELETE \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/pushnotifications \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '{
                       "$type":"Feenics.Keep.WebApi.Model.PushNotificationRequest, Feenics.Keep.WebApi.Model",
                       "RecipientKeys":null,
                       "EventRecipientKeys":null,
                       "Message":"MESSAGE_GOES_HERE",
                       "MessageTemplateKey":"MESSAGE_TEMPLATE_GOES_HERE",
                       "PushNotificationType":0,
                       "Subject":null
                   }'