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.

Path Parameters

FieldTypeRequiredDescription
organizationIduuidRequired
templateIduuidRequired

Request Body

FieldTypeRequiredDescription
typestringOptional
propertiesAddTemplateEntityRequestEntityProperty[]Optional

AddTemplateEntityRequestEntityProperty

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