AddEventTypeToAlarmDefinitionAsync

Add an Event Type to an Alarm Definition Returns (Task.)

Register an Event Type with the designated Alarm Definition.

Name Description
alarmDefinition The alarm definition.
eventType Type of the event.

Add Event Type To Alarm Definition Async

Example in C#

// Returns: nothing
await client.AddEventTypeToAlarmDefinitionAsync(AlarmDefinitionInfo alarmDefinition, EventTypeInfo eventType)

Example in CURL



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