Skip to main content

DutyDefinitionQuerySection (Object)

type DutyDefinitionQuerySection {
data(
dutyDefinitionNid: ApiDutyDefinitionNidScalar!
): DutyDefinitionQuerySectionDataOutput!
dutyDefinitionList(
loginNidList: [ApiLoginNidScalar!]
onlyDefaultPositions: Boolean
type: DutyTypeEnum
): [DutyDefinition!]!
dutyDefinitionRestrictedList(
loginNidList: [ApiLoginNidScalar!]
onlyDefaultPositions: Boolean
wildcard: String
aircraftRegistration: AircraftRegistration
crewExternalIdList: [CrewMemberExternalIdScalar!]
shouldFilterByAoc: Boolean
dutyDefinitionNidList: [ApiDutyDefinitionNidScalar!]
): [DutyDefinition!]!
workPlanList(
crewMemberNidList: [CrewMemberNid!]!
): [DutyWorkPlan!]!
}

Fields​

DutyDefinitionQuerySection.data ● DutyDefinitionQuerySectionDataOutput! non-null union​

DutyDefinitionQuerySection.data.dutyDefinitionNid ● ApiDutyDefinitionNidScalar! non-null scalar​

Possible violation list: IS_NOT_SOME_ERROR

DutyDefinitionQuerySection.dutyDefinitionList ● [DutyDefinition!]! non-null object​

Full list of duty definitions. Requires access to resource DUTY_DEFINITION_UNRESTRICTED

DutyDefinitionQuerySection.dutyDefinitionList.loginNidList ● [ApiLoginNidScalar!] list scalar​

If passed, node will return only those definitions, that are available for all passed logins.

DutyDefinitionQuerySection.dutyDefinitionList.onlyDefaultPositions ● Boolean scalar​
DutyDefinitionQuerySection.dutyDefinitionList.type ● DutyTypeEnum enum​

If passed, node will return only definitions of that type.

DutyDefinitionQuerySection.dutyDefinitionRestrictedList ● [DutyDefinition!]! non-null object​

List of duty definitions restricted by aircraft privileges

DutyDefinitionQuerySection.dutyDefinitionRestrictedList.loginNidList ● [ApiLoginNidScalar!] list scalar​

If passed, node will return only those definitions, that are available for all passed logins.

DutyDefinitionQuerySection.dutyDefinitionRestrictedList.onlyDefaultPositions ● Boolean scalar​
DutyDefinitionQuerySection.dutyDefinitionRestrictedList.wildcard ● String scalar​
DutyDefinitionQuerySection.dutyDefinitionRestrictedList.aircraftRegistration ● AircraftRegistration scalar​
DutyDefinitionQuerySection.dutyDefinitionRestrictedList.crewExternalIdList ● [CrewMemberExternalIdScalar!] list scalar​
DutyDefinitionQuerySection.dutyDefinitionRestrictedList.shouldFilterByAoc ● Boolean scalar​
DutyDefinitionQuerySection.dutyDefinitionRestrictedList.dutyDefinitionNidList ● [ApiDutyDefinitionNidScalar!] list scalar​

DutyDefinitionQuerySection.workPlanList ● [DutyWorkPlan!]! non-null object​

DutyDefinitionQuerySection.workPlanList.crewMemberNidList ● [CrewMemberNid!]! non-null scalar​

Returned By​

dutyDefinition query