Docs

Update Assignment Flags

PUT /eventTypes/{typeId}/assignmentFlags

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

FieldTypeRequiredDescription
typeIduuidRequired

Request Body

FieldTypeRequiredDescription
assignmentsUpdateEventTypeAssignmentFlagsRequestAssignment[]Optional

UpdateEventTypeAssignmentFlagsRequestAssignment

FieldTypeDescription
sectionIduuid
kindstring| null
attributeIduuid| null
roleDefinitionIduuid| null
isRequiredboolean
isTaskTrackedboolean
isTaskReviewRequiredboolean
showOnCreateFormboolean| null
dueDateRuleUpdateEventTypeAssignmentFlagsRequestDueDateRuleInfo
defaultAssigneeUpdateEventTypeAssignmentFlagsRequestDefaultAssigneeInfo
reviewRouteUpdateEventTypeAssignmentFlagsRequestReviewRouteInfo
defaultFolderTemplateEntityIduuid| null
indexinteger

UpdateEventTypeAssignmentFlagsRequestDueDateRuleInfo

FieldTypeDescription
kindstring| null
datedate-time| null
sourceAttributeIduuid| null
offsetinteger| null
unitstring| null

UpdateEventTypeAssignmentFlagsRequestDefaultAssigneeInfo

FieldTypeDescription
kindstring| null
orgCrewIduuid| null
roleDefinitionIduuid| null
targetTemplateCollaboratorIduuid| null
accessRoleIduuid| null

UpdateEventTypeAssignmentFlagsRequestReviewRouteInfo

FieldTypeDescription
stagesUpdateEventTypeAssignmentFlagsRequestReviewRouteInfoStage[]| null

UpdateEventTypeAssignmentFlagsRequestReviewRouteInfoStage

FieldTypeDescription
iduuid| null
namestring| null
kindstring| null
groupsUpdateEventTypeAssignmentFlagsRequestReviewRouteInfoGroup[]| null