Skip to main content

AircraftAvailabilitySection (Object)

Represents fields related to aircraft availability module

type AircraftAvailabilitySection {
availabilityList(
startTime: DateTime
registration: AircraftRegistrationActive
): [AircraftAvailability!]!
scheduleList(
timeInterval: TimeIntervalInput
registration: AircraftRegistrationActive
): [AircraftSchedule!]!
emptyLegList(
startTime: DateTime
registration: AircraftRegistrationActive
include_opportunities: Boolean
endTime: DateTime
isCnl: Boolean = false
): [EmptyLeg!]!
}

Fields

AircraftAvailabilitySection.availabilityList ● [AircraftAvailability!]! non-null object

Requires access to resource GRAPHQL_AIRCRAFT_AVAILABILITY

AircraftAvailabilitySection.availabilityList.startTime ● DateTime scalar

Aircraft availability will be fetched starting from this time for a period of 3 months. If not specified, current time will be used.

AircraftAvailabilitySection.availabilityList.registration ● AircraftRegistrationActive scalar

Aircraft for which availability will be fetched. If not specified, availability will be fetched for all accessible aircraft.

AircraftAvailabilitySection.scheduleList ● [AircraftSchedule!]! non-null object

Requires access to resource GRAPHQL_AIRCRAFT_AVAILABILITY. time interval has to be shorter than 3 months

AircraftAvailabilitySection.scheduleList.timeInterval ● TimeIntervalInput input

Scheduled activities will be fetched starting from this time. If not specified, interval starting at current time with maximum length will be used.

AircraftAvailabilitySection.scheduleList.registration ● AircraftRegistrationActive scalar

Aircraft for which schedule will be fetched. If not specified, schedule will be fetched for all accessible aircraft.

AircraftAvailabilitySection.emptyLegList ● [EmptyLeg!]! non-null object

Requires access to resource EMPTY_LEGS_SEE. Requires access to given flight

AircraftAvailabilitySection.emptyLegList.startTime ● DateTime scalar

Empty legs will be fetched starting from this time for a period of 1 month. If not specified, current time will be used.

AircraftAvailabilitySection.emptyLegList.registration ● AircraftRegistrationActive scalar

Aircraft for which empty legs will be fetched. If not specified, empty leg will be fetched for all accessible aircraft.

AircraftAvailabilitySection.emptyLegList.include_opportunities ● Boolean scalar

Include opportunities as empty legs. If not specified opportunities will not be included

AircraftAvailabilitySection.emptyLegList.endTime ● DateTime scalar

Defines the time after which flights are not considered with STD bigger than his value. If not specified, flights will be fetched for period +1 month.

AircraftAvailabilitySection.emptyLegList.isCnl ● Boolean scalar

Allows you to choose whether we also want to see empty legs that are cancelled

Returned By

aircraftAvailability query