OBJECT

AircraftAvailabilitySection

Represents fields related to aircraft availability module

link GraphQL Schema definition

  • type AircraftAvailabilitySection {
  • # Requires access to resource GRAPHQL_AIRCRAFT_AVAILABILITY
  • #
  • # Arguments
  • # startTime: Aircraft availability will be fetched
  • #
  • # starting from this time for a period of 3 months.
  • #
  • # If not specified, current time will be used.
  • # registration: Aircraft for which availability will be fetched.
  • #
  • # If not specified, availability will be fetched for all accessible aircraft.
  • availabilityList(
  • startTime: DateTime,
  • registration: AircraftRegistrationActive
  • ): [AircraftAvailability!]!
  • # Requires access to resource GRAPHQL_AIRCRAFT_AVAILABILITY.
  • # time interval has to be shorter than 3 months
  • #
  • # Arguments
  • # timeInterval: Scheduled activities will be fetched starting
  • # from this time.
  • #
  • # If not specified, interval starting at current time with maximum length will be
  • # used.
  • # registration: Aircraft for which schedule will be fetched.
  • #
  • # If not specified, schedule will be fetched for all accessible aircraft.
  • scheduleList(
  • timeInterval: TimeIntervalInput,
  • registration: AircraftRegistrationActive
  • ): [AircraftSchedule!]!
  • # Requires access to resource EMPTY_LEGS_SEE.
  • # Requires access to given flight
  • #
  • # Arguments
  • # startTime: Empty legs will be fetched starting from this time
  • #
  • # for a period of 1 month. If not specified, current time will be used.
  • # registration: Aircraft for which empty legs will be fetched.
  • #
  • # If not specified, empty leg will be fetched for all accessible aircraft.
  • # include_opportunities: Include opportunities as empty legs.
  • #
  • # If not specified opportunities will not be included
  • # endTime: 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.
  • # isCnl: Allows you to choose whether
  • #
  • # we also want to see empty legs that are cancelled
  • emptyLegList(
  • startTime: DateTime,
  • registration: AircraftRegistrationActive,
  • include_opportunities: Boolean,
  • endTime: DateTime,
  • isCnl: Boolean
  • ): [EmptyLeg!]!
  • }