AddEventTypeToAppAsync

Returns (Task)

Register an Event Type with the designated App.

Name Description
app
eventTypeInfo

Add Event Type To App Async

Example in C#

// Returns: EventTypeInfo
var eventTypeInfo = await client.AddEventTypeToAppAsync(AppInfo app, EventTypeInfo eventTypeInfo);

Example in CURL



           curl -X PUT \
               https://keepapi.feenicshosting.com/api/f/INSTANCE.KEY/apps/APP.KEY/eventtypes \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -D '{
                       "$type":"Feenics.Keep.WebApi.Model.EventTypeInfo, Feenics.Keep.WebApi.Model",
                       "MessageTemplateLong":null,
                       "MessageTemplateShort":null,
                       "Priority":0,
                       "RequiresAcknowledgement":false,
                       "NonLogging":false,
                       "Key":null,
                       "CommonName":"ExampleEventForCurl",
                       "InFolderHref":null,
                       "InFolderKey":null,
                       "Links":[],
                       "ObjectLinks":null,
                       "Metadata":null,
                       "Notes":null,
                       "Tags":null,
                       "Monikers":
                       [
                           {
                               "$type":"Feenics.Keep.WebApi.Model.MonikerItem, Feenics.Keep.WebApi.Model",
                               "Namespace":"cUrlExamples",
                               "Nickname":"ExampleEventForCurl"
                           }
                       ],
                       "Href":null
                   }'