AddAlarmActionToAlarmDefinitionAsync

Add a web hook to an Alarm Definition Returns (Task.)

Places an Alarm Action on an Alarm Defintion.

Name Description
alarmDefinition The alarm definition.
alarmAction The alarm action.

Add Alarm Action To Alarm Definition Async

Example in C#

// Returns: nothing
await client.AddAlarmActionToAlarmDefinitionAsync(AlarmDefinitionInfo alarmDefinition, AlarmActionInfo alarmAction)

Example in CURL



           curl -X PUT \
               https://keepapi.feenicshosting.com/api/f/INSTANCE.KEY/alarmdefinitions/ALARMDEFINITION.KEY/collections/alarmactions \
               -H 'Authorization: Bearer TOKEN_GOES_HERE'
               -H 'Content-Type: application/json' \
               -d '"/api/f/INSTANCE.KEY/alarmactions/ALARMACTION.KEY"'