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. A default assignee's accessRoleId is the access role it gets when pulled; empty uses the
org default role. A File or MultiFile attribute's defaultFolderTemplateEntityId is a FileFolder entity of the base
template (EventTypes_GetEventType), replaced like the rule: null is the drive root; an unchanged id is kept even when
the base template no longer has it. Requires Event.Configure at the organization.
Each assignment's reviewRoute replaces that placement's default review route (role definitions and org crew); null clears it.
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 | |
| showOnCreateForm | boolean| null | |
| dueDateRule | UpdateEventTypeAssignmentFlagsRequestDueDateRuleInfo | |
| defaultAssignee | UpdateEventTypeAssignmentFlagsRequestDefaultAssigneeInfo | |
| reviewRoute | UpdateEventTypeAssignmentFlagsRequestReviewRouteInfo | |
| defaultFolderTemplateEntityId | uuid| null | |
| 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 | |
| accessRoleId | uuid| null | |
UpdateEventTypeAssignmentFlagsRequestReviewRouteInfo
| Field | Type | Description |
|---|
| stages | UpdateEventTypeAssignmentFlagsRequestReviewRouteInfoStage[]| null | |
UpdateEventTypeAssignmentFlagsRequestReviewRouteInfoStage
| Field | Type | Description |
|---|
| id | uuid| null | |
| name | string| null | |
| kind | string| null | |
| groups | UpdateEventTypeAssignmentFlagsRequestReviewRouteInfoGroup[]| null | |