Docs
Update Assignment
PUT /eventTypes/{typeId}/sections/{sectionId}/attributes/{attributeId}
PUT
/eventTypes/{typeId}/sections/{sectionId}/attributes/{attributeId}Updates one placed attribute: its flags, index, due date rule and default assignee. The rule and assignee are replaced by what is sent, so omit one to clear it. Both need the placement to be task tracked. A relative due date rule must point at a Date or DateTime attribute placed on the same type. Siblings are reshuffled when the index changes. To move a placement to another section, remove it with EventTypes_RemoveAttribute and add it with EventTypes_AssignAttribute carrying the same flags. When changing several placements, prefer EventTypes_UpdateAssignmentFlags. Requires organization admin.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| typeId | uuid | Required | |
| sectionId | uuid | Required | |
| attributeId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| isRequired | boolean | Optional | |
| isTaskTracked | boolean | Optional | |
| isTaskReviewRequired | boolean | Optional | |
| dueDateRule | UpdateEventTypeAssignmentRequestDueDateRuleInfo | Optional | |
| defaultAssignee | UpdateEventTypeAssignmentRequestDefaultAssigneeInfo | Optional | |
| index | integer | Optional |
UpdateEventTypeAssignmentRequestDueDateRuleInfo
| Field | Type | Description |
|---|---|---|
| kind | string| null | |
| date | date-time| null | |
| sourceAttributeId | uuid| null | |
| offset | integer| null | |
| unit | string| null |
UpdateEventTypeAssignmentRequestDefaultAssigneeInfo
| Field | Type | Description |
|---|---|---|
| kind | string| null | |
| orgCrewId | uuid| null | |
| roleDefinitionId | uuid| null | |
| targetTemplateCollaboratorId | uuid| null | |
| grantedPermissions | string[]| null |