Docs
Assign Attribute
POST /eventTypes/{typeId}/sections/{sectionId}/attributes
POST
/eventTypes/{typeId}/sections/{sectionId}/attributesPlaces 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
| Field | Type | Required | Description |
|---|---|---|---|
| typeId | uuid | Required | |
| sectionId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| attributeId | uuid | Optional | |
| isRequired | boolean | Optional | |
| isTaskTracked | boolean | Optional | |
| isTaskReviewRequired | boolean | Optional | |
| index | integer | Optional |