PUT/eventTypes/{typeId}/assignmentFlags
Saves flags, index, due date rule and default assignee for several attribute and role placements of a type in
one request. Prefer this over EventTypes_UpdateAssignment and EventTypes_UpdateRoleAssignment: each of those
triggers its own update of every event of the type, and a request per toggle overlaps its predecessors and can
insert the same tracking task twice. Only the listed placements are touched. Each item's kind is Attribute or
Role, with attributeId or roleDefinitionId to match; a role's defaultIsRequired and defaultIsTaskTracked are
sent as isRequired and isTaskTracked. One invalid item rejects the whole batch and nothing is saved. Requires
organization admin.
Path Parameters
| Field | Type | Required | Description |
|---|
| typeId | uuid | Required | |
Request Body
| Field | Type | Required | Description |
|---|
| assignments | UpdateEventTypeAssignmentFlagsRequestAssignment[] | Optional | |
UpdateEventTypeAssignmentFlagsRequestAssignment
| Field | Type | Description |
|---|
| sectionId | uuid | |
| kind | string| null | |
| attributeId | uuid| null | |
| roleDefinitionId | uuid| null | |
| isRequired | boolean | |
| isTaskTracked | boolean | |
| isTaskReviewRequired | boolean | |
| dueDateRule | UpdateEventTypeAssignmentFlagsRequestDueDateRuleInfo | |
| defaultAssignee | UpdateEventTypeAssignmentFlagsRequestDefaultAssigneeInfo | |
| index | integer | |
UpdateEventTypeAssignmentFlagsRequestDueDateRuleInfo
| Field | Type | Description |
|---|
| kind | string| null | |
| date | date-time| null | |
| sourceAttributeId | uuid| null | |
| offset | integer| null | |
| unit | string| null | |
UpdateEventTypeAssignmentFlagsRequestDefaultAssigneeInfo
| Field | Type | Description |
|---|
| kind | string| null | |
| orgCrewId | uuid| null | |
| roleDefinitionId | uuid| null | |
| targetTemplateCollaboratorId | uuid| null | |
| grantedPermissions | string[]| null | |