Docs

Assign Attribute

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

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

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.
Organization tokenx-Organization-TokenOptionalRun **Authorize Organization** in the Authorization folder.

Assigns a library attribute into a section of an event type. isTaskReviewRequired is only meaningful when isTaskTracked is true.

Returns 201 Created.

Requires OrganizationAdmin permission.

Path Parameters

FieldTypeRequiredDescription
typeIdGuidRequiredThe event type that owns the section.
sectionIdGuidRequiredThe section to assign the attribute into.

Request Body

FieldTypeRequiredDescription
attributeIdGuidRequiredThe library attribute to assign.
isRequiredboolRequiredWhether the attribute is required on events of this type.
isTaskTrackedboolRequiredWhether filling the attribute is tracked as a task.
isTaskReviewRequiredboolRequiredWhether the tracked task requires review. Only meaningful when `isTaskTracked` is true.
indexintRequiredDisplay order within the section.