Creates a new notification in the specified folder. Returns (Task)
Overview of AddNotificationAsync goes here.
| Name | Description |
|---|---|
| folder | The folder where the notification will be created |
| item | The notification information to create |
Example in C#
// Returns: NotificationInfo
var notificationInfo = await client.AddNotificationAsync(FolderInfo folder, NotificationInfo item);
Example in CURL
curl -X POST \
https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/notifications \
-H 'Authorization: Bearer TOKEN_GOES_HERE' \
-H 'Content-Type: application/json' \
-d '{
"$type":"Feenics.Keep.WebApi.Model.NotificationInfo, Feenics.Keep.WebApi.Model",
"CommonName":"Notification_for_cURL",
"Message":"API notification test",
"Severity":"Info"
}'