Docs

Assign Crew Type Section Attribute

POST /crew/types/{typeId}/sections/{sectionId}/attributes

POST/crew/types/{typeId}/sections/{sectionId}/attributes

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.
Event tokenx-Event-TokenOptionalRun **Get Tokens** in the Authorization folder, or call `GET /Events/{eventId}/authorize` manually.

Assigns a (non-archived) crew attribute from the library into a section, carrying the three intake flags and an order index. An attribute can only be assigned once per section.

Requires EventAdmin permission on the event.

Path Parameters

FieldTypeRequiredDescription
typeIdGuidRequiredThe crew type ID.
sectionIdGuidRequiredThe section ID.

Request Body

FieldTypeRequiredDescription
crewAttributeIdGuidRequiredThe crew attribute definition to assign.
isRequiredboolRequiredWhether the value is required at intake.
isCrewVisibleboolRequiredWhether the connected crew member can see it.
isCrewEditableboolRequiredWhether the connected crew member can edit it.
indexintRequiredOrder within the section.

Response

201 Created — No response body.

Error Codes

CodeHTTP StatusDescription
NOT_FOUND404Crew type, section, or attribute not found.
BAD_REQUEST400The attribute is already assigned to this section.