Docs
Update Template Entity
PUT /organizations/{organizationId}/templates/{templateId}/entities/{entityId}
PUT
/organizations/{organizationId}/templates/{templateId}/entities/{entityId}Replaces all of an entity's properties with the list sent; properties left out are removed. The entity type itself does not change. The entity id comes from Templates_GetTemplate; the available properties come from Templates_GetEntitySchemas. organizationId must be the organization token's; needs Event.Configure there.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| organizationId | uuid | Required | |
| templateId | uuid | Required | |
| entityId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| properties | UpdateTemplateEntityRequestEntityProperty[] | Optional | |
| mode | string | Optional | |
| orgRecordId | uuid | Optional | |
| connectedUserId | uuid | Optional | |
| inputId | uuid | Optional | |
| profilePrefill | uuid[] | Optional | |
| carriedValues | UpdateTemplateEntityRequestCarriedValue[] | Optional | |
| orgId | uuid | Optional |
UpdateTemplateEntityRequestEntityProperty
| Field | Type | Description |
|---|---|---|
| name | string| null | |
| type | string| null | |
| value | string| null | |
| refType | string| null | |
| days | integer | |
| hours | integer | |
| addSubNum | integer |
UpdateTemplateEntityRequestCarriedValue
| Field | Type | Description |
|---|---|---|
| attributeId | uuid | |
| optionIds | uuid[]| null | |
| value | JsonElement| null |