Skip to main content

CrewPanelCrewMutationSection (Object)

type CrewPanelCrewMutationSection {
assign(
crewRecordList: [CrewPanelAssignCrewRecord!]!
isInDraftsMode: Boolean!
shouldReplaceCurrentPosition: Boolean! = false
): NonNullBooleanValueOrErrorList!
swap(
trNidList: [TrNid!]!
crewSwapRecordList: [CrewSwapRecordInput!]!
draftToggle: Boolean!
): NonNullBooleanValueOrErrorList!
deleteFromFlight(
crewRecordList: [CrewPanelRemoveCrewRecord!]
isInDraftsMode: Boolean!
): Boolean!
swapBetweenFlights(
trNidList: [TrNid!]!
draftToggle: Boolean!
): CrewPanelCrewMutationSectionSwapBetweenFlightsOutput!
assignByPositionName(
crewRecordList: [CrewPanelAssignCrewByPositionNameRecord!]!
isInDraftsMode: Boolean!
): NonNullBooleanValueOrErrorList!
deleteFromFlightByPosition(
trNid: TrNid!
positionNameList: [PositionNameString!]!
isInDraftsMode: Boolean!
): NonNullBooleanValueOrErrorList!
deleteAllCrewFromFlight(
trNid: TrNid!
isInDraftsMode: Boolean!
): NonNullBooleanValueOrErrorList!
}

Fields​

CrewPanelCrewMutationSection.assign ● NonNullBooleanValueOrErrorList! non-null union​

If in drafts mode, requires operator to turn that feature on globally in settings.

CrewPanelCrewMutationSection.assign.crewRecordList ● [CrewPanelAssignCrewRecord!]! non-null input​
CrewPanelCrewMutationSection.assign.isInDraftsMode ● Boolean! non-null scalar​
CrewPanelCrewMutationSection.assign.shouldReplaceCurrentPosition ● Boolean! non-null scalar​

When true, the crew member is first removed from their other positions on the same flight (positions that may be combined, e.g. INS, OBS, LTC, are kept), then assigned to the given position. Default false: assigning a crew member already on another position of the flight returns a validation error.

CrewPanelCrewMutationSection.swap ● NonNullBooleanValueOrErrorList! non-null union​

List cannot be empty. If in drafts mode, requires operator to turn that feature on globally in settings.

CrewPanelCrewMutationSection.swap.trNidList ● [TrNid!]! non-null scalar​
CrewPanelCrewMutationSection.swap.crewSwapRecordList ● [CrewSwapRecordInput!]! non-null input​
CrewPanelCrewMutationSection.swap.draftToggle ● Boolean! non-null scalar​

CrewPanelCrewMutationSection.deleteFromFlight ● Boolean! non-null scalar​

Requires access to resource GRAPHQL_FLIGHT_EDIT. If in drafts mode, requires operator to turn that feature on globally in settings.

CrewPanelCrewMutationSection.deleteFromFlight.crewRecordList ● [CrewPanelRemoveCrewRecord!] list input​
CrewPanelCrewMutationSection.deleteFromFlight.isInDraftsMode ● Boolean! non-null scalar​

CrewPanelCrewMutationSection.swapBetweenFlights ● CrewPanelCrewMutationSectionSwapBetweenFlightsOutput! non-null union​

If in drafts mode, requires operator to turn that feature on globally in settings.

CrewPanelCrewMutationSection.swapBetweenFlights.trNidList ● [TrNid!]! non-null scalar​

Possible violation list: IS_NOT_THE_SAME_CREW

CrewPanelCrewMutationSection.swapBetweenFlights.draftToggle ● Boolean! non-null scalar​

CrewPanelCrewMutationSection.assignByPositionName ● NonNullBooleanValueOrErrorList! non-null union​

If in drafts mode, requires operator to turn that feature on globally in settings.

CrewPanelCrewMutationSection.assignByPositionName.crewRecordList ● [CrewPanelAssignCrewByPositionNameRecord!]! non-null input​

Possible violation list: IS_NOT_SOME_ERROR

CrewPanelCrewMutationSection.assignByPositionName.isInDraftsMode ● Boolean! non-null scalar​

CrewPanelCrewMutationSection.deleteFromFlightByPosition ● NonNullBooleanValueOrErrorList! non-null union​

If in drafts mode, requires operator to turn that feature on globally in settings.

CrewPanelCrewMutationSection.deleteFromFlightByPosition.trNid ● TrNid! non-null scalar​
CrewPanelCrewMutationSection.deleteFromFlightByPosition.positionNameList ● [PositionNameString!]! non-null scalar​
CrewPanelCrewMutationSection.deleteFromFlightByPosition.isInDraftsMode ● Boolean! non-null scalar​

CrewPanelCrewMutationSection.deleteAllCrewFromFlight ● NonNullBooleanValueOrErrorList! non-null union​

If in drafts mode, requires operator to turn that feature on globally in settings.

CrewPanelCrewMutationSection.deleteAllCrewFromFlight.trNid ● TrNid! non-null scalar​
CrewPanelCrewMutationSection.deleteAllCrewFromFlight.isInDraftsMode ● Boolean! non-null scalar​

Returned By​

crewPanel.crew mutation