Docs

Set Template Input Mappings

PUT /eventTypes/{typeId}/templateInputMappings

PUT/eventTypes/{typeId}/templateInputMappings

Replaces the whole set of template input mappings for the type. Each mapping fills one input of the base template from an attribute or a role that is already placed on this type; a source that is not placed, an unknown source kind, or an input mapped twice is rejected. Whether the input's data type suits the source is not checked here. Requires organization admin.

Path Parameters

FieldTypeRequiredDescription
typeIduuidRequired

Request Body

FieldTypeRequiredDescription
mappingsSetTemplateInputMappingsRequestMapping[]Optional

SetTemplateInputMappingsRequestMapping

FieldTypeDescription
templateInputIduuid
sourceKindstring| null
attributeIduuid| null
roleDefinitionIduuid| null