Docs

Duplicate Event Type

POST /eventTypes/{typeId}/duplicate

POST/eventTypes/{typeId}/duplicate

Copies an event type and returns the copy's id. The copy is named Copy of the original's name and carries its sections, attribute and role placements, template input mappings and effects, and shares the original's library attributes and roles. The intake form and base template are copied rather than shared, so editing one type's form or template never changes the other's, and the input mappings and effects are repointed at the copied questions, options, inputs and template entities. If copying either one fails, no type is created and any copy already made is deleted. Requires organization admin.

Path Parameters

FieldTypeRequiredDescription
typeIduuidRequired

Response

Type: uuid