eventnotification_eventnotificationtemplate:clone | |||||
---|---|---|---|---|---|
Description: | |||||
Allows you to clone exiting event notification template object and create a new one with similar configuration |
|||||
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 |