Docs
Set Template Input Mappings
PUT /eventTypes/{typeId}/templateInputMappings
PUT
/eventTypes/{typeId}/templateInputMappingsReplaces 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
| Field | Type | Required | Description |
|---|---|---|---|
| typeId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| mappings | SetTemplateInputMappingsRequestMapping[] | Optional |
SetTemplateInputMappingsRequestMapping
| Field | Type | Description |
|---|---|---|
| templateInputId | uuid | |
| sourceKind | string| null | |
| attributeId | uuid| null | |
| roleDefinitionId | uuid| null |