eventnotification_eventnotificationtemplate:clone | |||||
---|---|---|---|---|---|
Description: | |||||
This action allows registering to various backend event. Use this action to create notifications that will react to events such as new video was uploaded or metadata field was updated. To see the list of available event types, call the listTemplates action. |
|||||
Input Params | |||||
Name | Type | Description | Required | Default Value | Restrictions |
id | int | source template to clone | V | ||
eventNotificationTemplate | KalturaEventNotificationTemplate | overwrite configuration object | |||
Output Type | |||||
KalturaEventNotificationTemplate | |||||
Errors | |||||
EVENT_NOTIFICATION_TEMPLATE_NOT_FOUND;ID;Event notification template id [@ID@] not found | |||||
EVENT_NOTIFICATION_WRONG_TYPE;ID,TYPE;Event notification template id [@ID@] is of type [@TYPE@] | |||||
EVENT_NOTIFICATION_TEMPLATE_DUPLICATE_SYSTEM_NAME;NAME;Event notification template with system name [@NAME@] already exists. | |||||
Example HTTP Hit | |||||
http://www.kaltura.com/api_v3/?service=eventnotification_eventnotificationtemplate&action=clone POST fields: id eventNotificationTemplate:relatedObjects eventNotificationTemplate:id eventNotificationTemplate:partnerId eventNotificationTemplate:name eventNotificationTemplate:systemName eventNotificationTemplate:description eventNotificationTemplate:type eventNotificationTemplate:status eventNotificationTemplate:createdAt eventNotificationTemplate:updatedAt eventNotificationTemplate:manualDispatchEnabled eventNotificationTemplate:automaticDispatchEnabled eventNotificationTemplate:eventType eventNotificationTemplate:eventObjectType eventNotificationTemplate:eventConditions eventNotificationTemplate:contentParameters eventNotificationTemplate:userParameters |