Returns (Task)
Creates a new Alarm action and stores it in the designated Folder.
Name | Description |
---|---|
folder | |
alarmAction |
Example in C#
// Returns: AlarmActionInfo
var alarmActionInfo = await client.AddAlarmActionAsync(FolderInfo folder, AlarmActionInfo alarmAction);
Example in CURL
curl -X POST \
https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/alarmactions \
-H 'Authorization: Bearer TOKEN_GOES_HERE' \
-H 'Content-Type: application/json' \
-D '{
"$type":"Feenics.Keep.WebApi.Model.AlarmActionInfo, Feenics.Keep.WebApi.Model",
"IsEnabled":false,
"Logged":false,
"GracePeriod":null,
"Key":null,
"CommonName":null,
"InFolderHref":null,
"InFolderKey":null,
"Links":[],
"ObjectLinks":null,
"Metadata":null,
"Notes":null,
"Tags":null,
"Monikers":null,
"Href":null
}'