Docs

Assign Attribute

POST /eventTypes/{typeId}/sections/{sectionId}/attributes

POST/eventTypes/{typeId}/sections/{sectionId}/attributes

Places a library attribute in a section of an event type, with its flags: required, tracked as a task, and whether the tracked task needs review (only allowed when tracked), plus its index. It fails if the attribute is already in that section. Attributes and roles in a section share one index sequence. Attribute ids come from EventTypes_GetEventAttributes and section ids from EventTypes_GetEventType. The change is then pushed to the type's events so their tracking tasks follow, on a best-effort basis. Requires organization admin.

Path Parameters

FieldTypeRequiredDescription
typeIduuidRequired
sectionIduuidRequired

Request Body

FieldTypeRequiredDescription
attributeIduuidOptional
isRequiredbooleanOptional
isTaskTrackedbooleanOptional
isTaskReviewRequiredbooleanOptional
indexintegerOptional