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, and the entity designated as the default collaborator. Works for the organization's own templates and global ones. The template id
comes from Templates_GetTemplates.
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 | |
| defaultCollaboratorEntityId | uuid| null | |
| inputs | GetTemplateResponseInput[]| null | |
| entities | GetTemplateResponseEntity[]| null | |
| 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 | |
GetTemplateResponseEntityProperty
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| type | string| null | |
| value | string| null | |
| refType | string| null | |
| days | integer | |
| hours | integer | |
| addSubNum | integer | |