Docs

Add Crew

POST /events/{eventId}/crew

POST/events/{eventId}/crew

Adds people to the event's crew. Each person is an organization crew record (orgCrewId from Crew_GetCrewDirectory) or a new one (newCrew, created on the organization record and homed to the placement collaborator's record). placementCollaboratorId is the collaborator they work for on this event (from Events_GetCollaborators); absent means their org home, which is added too, pending, when it is not on the event. One person is added complete with the profiles picked; several are added pending and completed with Crew_CompleteCrewAdd. Refused with a 400 when the person is already on the event, archived or blacklisted, or a profile is not allowed by the event type. Picking an existing person needs Crew.View at the organization (or the person on the caller's own roster), plus Collaborator.Manage at the event when their org home comes too, otherwise Crew.Manage on the placement. A person with an account is admitted: accessRoleId (from AccessRoles_GetAccessRoles) is granted at accessContextType (Collaborator, the default, or Event; Event needs Access.Manage at the event) and needs Access.Manage there and only roles whose verbs the caller holds; omitted grants the org default role, or basic access when none is set. A person added complete also gets the picked profiles' Event and Both role slots (Both from their record, occupants pulled on pending) and may send intakeAnswers and roleOccupants for them; a pending person takes those at Crew_CompleteCrewAdd. One person completes inline and takes the event gate (a 400 whose missingRequired lists each empty required Event attribute, question or role as { kind, id, name, level }); a new person's org record takes the org gate first. Two or more people are added pending with no gate.

Path Parameters

FieldTypeRequiredDescription
eventIduuidRequired

Request Body

FieldTypeRequiredDescription
peopleAddEventCrewRequestPerson[]Optional

AddEventCrewRequestPerson

FieldTypeDescription
orgCrewIduuid| null
newCrewAddEventCrewRequestNewCrewMember
placementCollaboratorIduuid| null
accessRoleIduuid| null
accessContextTypestring| null
profileIdsuuid[]| null
valuesAddEventCrewRequestValueInput[]| null
isPointOfContactboolean
intakeAnswersAddEventCrewRequestIntakeAnswerInput[]| null
roleOccupantsAddEventCrewRequestRoleOccupantsInput[]| null

AddEventCrewRequestNewCrewMember

FieldTypeDescription
firstNamestring| null
lastNamestring| null
emailstring| null
phoneNumberstring| null
titlestring| null
profileIdsuuid[]| null
valuesAddEventCrewRequestValueInput[]| null
intakeAnswersAddEventCrewRequestIntakeAnswerInput[]| null
roleOccupantsAddEventCrewRequestRoleOccupantsInput[]| null

AddEventCrewRequestValueInput

FieldTypeDescription
attributeIduuid
valueJsonElement| null
expiresOnJsonElement| null
itemExpiriesJsonElement| null

AddEventCrewRequestIntakeAnswerInput

FieldTypeDescription
questionIduuid
valueJsonElement| null

AddEventCrewRequestRoleOccupantsInput

FieldTypeDescription
roleDefinitionIduuid
crewIdsuuid[]| null
collaboratorRecordIdsuuid[]| null

Response

FieldTypeDescription
peopleAddEventCrewResponseAdded[]| null

AddEventCrewResponseAdded

FieldTypeDescription
crewIduuid
orgCrewIduuid
addPendingboolean