GET/organizations/{organizationId}/templates/{templateId}
Returns one event template with its inputs (the values asked for when an event is created from it) and its
entities with their properties. Works for the organization's own templates and global ones. The template id
comes from Templates_GetTemplates. organizationId must be the organization token's; needs Event.Configure
there, or Event.Manage there or at a location.
Path Parameters
| Field | Type | Required | Description |
|---|
| organizationId | uuid | Required | |
| templateId | uuid | Required | |
Response
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| description | string| null | |
| isGlobal | boolean | |
| inputs | GetTemplateResponseInput[]| null | |
| entities | GetTemplateResponseEntity[]| null | |
| bindings | GetTemplateResponseBinding[]| null | |
| isEventBaseTemplate | boolean | |
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| type | string| null | |
| isRequired | boolean | |
| defaultValue | string| null | |
GetTemplateResponseEntity
| Field | Type | Description |
|---|
| id | uuid | |
| type | string| null | |
| properties | GetTemplateResponseEntityProperty[]| null | |
| mode | string| null | |
| orgRecordId | uuid| null | |
| connectedUserId | uuid| null | |
| inputId | uuid| null | |
| profilePrefill | uuid[]| null | |
| carriedValues | GetTemplateResponseEntityCarriedValue[]| null | |
| orgId | uuid| null | |
| referenceName | string| null | |
| referenceState | string| null | |
GetTemplateResponseBinding
| Field | Type | Description |
|---|
| host | string| null | |
| typeId | uuid | |
| typeName | string| null | |
| slot | string| null | |
GetTemplateResponseEntityProperty
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| type | string| null | |
| value | string| null | |
| refType | string| null | |
| days | integer | |
| hours | integer | |
| addSubNum | integer | |
| referenceName | string| null | |
GetTemplateResponseEntityCarriedValue
| Field | Type | Description |
|---|
| attributeId | uuid | |
| optionIds | uuid[]| null | |
| value | JsonElement| null | |