Docs

Get Crew Type

GET /crew/types/{typeId}

GET/crew/types/{typeId}

Returns one crew type with its sections in order and each section's attributes: the definition and options, and whether the attribute is required, visible to the crew member and editable by them. typeId comes from Crew_GetCrewTypes. Needs CrewDatabase.Read.

Path Parameters

FieldTypeRequiredDescription
typeIduuidRequired

Response

FieldTypeDescription
iduuid
namestring| null
iconstring| null
colorstring| null
isArchivedboolean
indexinteger
sectionsGetCrewTypeResponseSectionInfo[]| null

GetCrewTypeResponseSectionInfo

FieldTypeDescription
iduuid
namestring| null
indexinteger
attributesGetCrewTypeResponseAttributeAssignmentInfo[]| null

GetCrewTypeResponseAttributeAssignmentInfo

FieldTypeDescription
crewAttributeIduuid
namestring| null
typestring| null
optionsGetCrewTypeResponseOptionInfo[]| null
isRequiredboolean
isCrewVisibleboolean
isCrewEditableboolean
indexinteger

GetCrewTypeResponseOptionInfo

FieldTypeDescription
iduuid
labelstring| null
typestring| null
valuestring| null