AddCustomEventDestinationAsync

Returns (Task)

This adds a Custom Event Destination object to the data base.

Name Description
folder
CustomEventDestination

Add Custom Event Destination Async

Example in C#

// Returns: CustomEventDestinationInfo
var customEventDestinationInfo = await client.AddCustomEventDestinationAsync(FolderInfo folder, CustomEventDestinationInfo CustomEventDestination)

Example in CURL



           curl -X POST \
               https://keepapi.feenicshosting.com/api/f/INSTANCE.KEY/customeventdestinations \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -D '{
                       "$type":"Feenics.Keep.WebApi.Model.CustomEventDestinationInfo, Feenics.Keep.WebApi.Model",
                       "Enabled":false,
                       "MaxBatchSize":0,
                       "IncludeLinkedObjects":false,
                       "Key":null,
                       "CommonName":"CustomEventDestinationFor_cUrl",
                       "InFolderHref":null,
                       "InFolderKey":null,
                       "Links":[],
                       "ObjectLinks":null,
                       "Metadata":null,
                       "Notes":null,
                       "Tags":null,
                       "Monikers":null,
                       "Href":null
                   }'