Docs

Add Template Entity

POST /organizations/{organizationId}/templates/{templateId}/entities

POST/organizations/{organizationId}/templates/{templateId}/entities

Adds an entity to a template: a typed building block, such as a collaborator or area, that is created in each event made from the template, with its list of properties. Use Templates_GetEntitySchemas for the available entity types and the properties each one takes. organizationId must be the organization token's; needs Event.Configure there.

Path Parameters

FieldTypeRequiredDescription
organizationIduuidRequired
templateIduuidRequired

Request Body

FieldTypeRequiredDescription
typestringOptional
propertiesAddTemplateEntityRequestEntityProperty[]Optional
modestringOptional
orgRecordIduuidOptional
connectedUserIduuidOptional
inputIduuidOptional
profilePrefilluuid[]Optional
carriedValuesAddTemplateEntityRequestCarriedValue[]Optional
orgIduuidOptional

AddTemplateEntityRequestEntityProperty

FieldTypeDescription
namestring| null
typestring| null
valuestring| null
refTypestring| null
daysinteger
hoursinteger
addSubNuminteger

AddTemplateEntityRequestCarriedValue

FieldTypeDescription
attributeIduuid
optionIdsuuid[]| null
valueJsonElement| null