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

FieldTypeRequiredDescription
typeIduuidRequired
sectionIduuidRequired
attributeIduuidRequired

Request Body

FieldTypeRequiredDescription
isRequiredbooleanOptional
isTaskTrackedbooleanOptional
isTaskReviewRequiredbooleanOptional
dueDateRuleUpdateEventTypeAssignmentRequestDueDateRuleInfoOptional
defaultAssigneeUpdateEventTypeAssignmentRequestDefaultAssigneeInfoOptional
indexintegerOptional

UpdateEventTypeAssignmentRequestDueDateRuleInfo

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

UpdateEventTypeAssignmentRequestDefaultAssigneeInfo

FieldTypeDescription
kindstring| null
orgCrewIduuid| null
roleDefinitionIduuid| null
targetTemplateCollaboratorIduuid| null
grantedPermissionsstring[]| null