OBJECT
Mutation
Represents all mutations exposed by Leon API
link GraphQL Schema definition
- type Mutation {
- # Requires access to given aircraft
- #
- # Arguments
- # acftNid: Aircraft numeric identifier
- # aircraft: [Not documented]
- (
- : Int!,
- : AircraftUpdate!
- ): NonNullAircraftValueOrErrorList! @deprecated( reason: "Use 'updateAircraft' in 'aircraft' node instead" )
- # Requires access to resource GRAPHQL_ACFT_EDIT
- #
- # Arguments
- # aircraft: [Not documented]
- (
- : AircraftCreate!
- ): NonNullAircraftValueOrErrorList! @deprecated( reason: "Use 'createAircraft' in 'aircraft' node instead" )
- # Requires access to resource GRAPHQL_SIMULATOR_EDIT
- : SimulatorMutation
- # Requires access to resource GRAPHQL_CREW_PANEL
- : CrewPanelMutation!
- # Return token.
- # Requires access to resource GRAPHQL_API_KEYS
- #
- # Arguments
- # apiKey: [Not documented]
- # aircraftList: [Not documented]
- (: ApiKeyCreate!, : [AircraftNid!]): String!
- # Requires access to resource GRAPHQL_API_KEYS
- #
- # Arguments
- # apiKeyNid: API key numeric identifier
- (: Int!): Boolean!
- # Requires access to resource GRAPHQL_API_KEYS
- #
- # Arguments
- # apiKey: [Not documented]
- # aircraftList: [Not documented]
- (: ApiKeyUpdate!, : [AircraftNid]): ApiKey!
- # Requires access to resource GRAPHQL_CONTACT
- : EapisModify!
- # Create trip with specified flights.
- # Requires access to resource GRAPHQL_FLIGHT_EDIT.
- # Requires access to resource GRAPHQL_FLIGHT
- #
- # Arguments
- # trip: [Not documented]
- (: TripCreate!): Trip!
- # Update trip with specified flights.
- # Requires access to resource GRAPHQL_FLIGHT_EDIT.
- # Requires access to resource GRAPHQL_FLIGHT
- #
- # Arguments
- # tripNid: [Not documented]
- # trip: [Not documented]
- (: TripNid!, : TripUpdate!): Trip!
- # Requires access to resource GRAPHQL_FLIGHT_EDIT
- #
- # Arguments
- # tripNid: [Not documented]
- (: TripNid!): Boolean!
- # Requires access to resource GRAPHQL_FLIGHT_EDIT
- #
- # Arguments
- # tripNid: [Not documented]
- # files: [Not documented]
- (: TripNid!, : [Upload!]!): [File!]!
- # Create flight and assign to trip with specified tripNid.
- # Requires access to resource GRAPHQL_FLIGHT_EDIT.
- # Requires access to resource GRAPHQL_FLIGHT.
- # Requires access to given flight
- #
- # Arguments
- # tripNid: [Not documented]
- # flight: [Not documented]
- (: TripNid!, : FlightCreate!): Flight!
- # Update flight with specified flightNid.
- # Requires access to resource GRAPHQL_FLIGHT_EDIT.
- # Requires access to resource GRAPHQL_FLIGHT.
- # Requires access to given flight
- #
- # Arguments
- # flightNid: [Not documented]
- # flight: [Not documented]
- (
- : FlightNid!,
- : FlightUpdate!
- ): Flight! @deprecated( reason: "use flights.flightListUpdate mutation" )
- # Cancel or delete flight (accordingly to operator settings).
- # Requires access to resource GRAPHQL_FLIGHT_EDIT.
- # Requires access to given flight
- #
- # Arguments
- # flightNid: [Not documented]
- (: FlightNid!): Boolean!
- # Requires access to resource GRAPHQL_FLIGHT_EDIT
- : FlightMutationQuery!
- # Requires access to resource GRAPHQL_FLIGHT_EDIT
- #
- # Arguments
- # flightNid: [Not documented]
- (: FlightNid!): Boolean!
- # Requires access to resource GRAPHQL_POSITIONING_EDIT.
- # Requires access to resource GRAPHQL_POSITIONING_SEE.
- # Requires access to given positioning
- #
- # Arguments
- # positioningNid: Positioning numeric identifier
- # positioning: [Not documented]
- (
- : Int!,
- : PositioningUpdate!
- ): Positioning! @deprecated( reason: "Please use positioning -> update instead " )
- : PositioningMutation!
- # Requires access to resource GRAPHQL_SALES_QUOTE_INVOICE_EDIT
- #
- # Arguments
- # quoteInvoice: [Not documented]
- # selectedLegNidList: [Not documented]
- # quoteRealizationNid: [Not documented]
- (
- : QuoteInvoiceInput!,
- : [QuoteRealizationLegNid!],
- : QuoteRealizationNid
- ): QuoteRealizationInvoice!
- # Requires access to resource GRAPHQL_SALES_QUOTE_INVOICE_EDIT
- #
- # Arguments
- # invoiceNid:
- # Possible violation list: IS_NOT_SOME_ERROR
- # isPaid:
- (
- : QuoteInvoiceNidScalar!,
- : Boolean!
- ): QuoteRealizationInvoice! @deprecated( reason: "use updateInvoiceIsPaid" )
- # Requires access to resource GRAPHQL_SALES_QUOTE_INVOICE_EDIT
- #
- # Arguments
- # invoiceNid:
- # Possible violation list: IS_NOT_SOME_ERROR
- # isPaid:
- (
- : QuoteInvoiceNidScalar!,
- : Boolean!
- ): UpdateInvoiceIsPaidOutput!
- # Requires access to resource GRAPHQL_SALES_QUOTE_INVOICE_EDIT
- #
- # Arguments
- # quoteRequestNid: [Not documented]
- # quoteInvoice: [Not documented]
- # selectedLegNidList: [Not documented]
- # quoteRealizationNid: [Not documented]
- # sellerDatasetId: If not specified, the default from the
- # operator's settings will be used.
- (
- : QuoteRequestNid!,
- : QuoteInvoiceInput!,
- : [QuoteRealizationLegNid!],
- : QuoteRealizationNid!,
- : QuoteInvoiceSellerDatasetId
- ): QuoteRealizationInvoice!
- # Arguments
- # quoteOperatorSettings: [Not documented]
- (
- : QuoteOperatorSettingsInput!
- ): ApiQuoteOperatorSettings!
- # Requires access to resource GRAPHQL_PASSENGER.
- # Requires access to given flight
- #
- # Arguments
- # flightNid: [Not documented]
- # file: [Not documented]
- (
- : FlightNid!,
- : FileInput!
- ): PassengerList! @deprecated( reason: "Please use passengerList->importPaxFromExcel instead" )
- # Requires access to resource GRAPHQL_PASSENGER_EDIT.
- # Requires access to resource GRAPHQL_PASSENGER.
- # Requires access to given flight
- #
- # Arguments
- # flightNid: [Not documented]
- # passengerContactList: [Not documented]
- # leadPassenger: [Not documented]
- (
- : FlightNid!,
- : [PassengerContactInput],
- : ContactNid
- ): PassengerList! @deprecated( reason: "Please use passengerList->savePassengerList instead" )
- # Requires access to resource GRAPHQL_PASSENGER_EDIT.
- # Requires access to resource GRAPHQL_PASSENGER.
- # Requires access to given flight
- #
- # Arguments
- # flightNid: [Not documented]
- # passengerContactList: [Not documented]
- # leadPassenger: [Not documented]
- (
- : FlightNid!,
- : [PassengerContactInput],
- : ContactNid
- ): PassengerList! @deprecated( reason: "Please use passengerList->addPassengersToList instead" )
- # Requires access to resource GRAPHQL_PASSENGER_EDIT.
- # Requires access to resource GRAPHQL_PASSENGER.
- # Requires access to given flight
- #
- # Arguments
- # flightNid: [Not documented]
- # passengerText: [Not documented]
- (
- : FlightNid!,
- : PassengerTextInput!
- ): PassengerList! @deprecated( reason: "Please use passengerList->savePassengerText instead" )
- # Requires access to resource GRAPHQL_PASSENGER_EDIT.
- # Requires access to resource GRAPHQL_PASSENGER
- #
- # Arguments
- # flightNid:
- # passengerContactList:
- (
- : FlightNid!,
- : [ContactNid]
- ): PassengerList! @deprecated( reason: "Please use passengerList->removePassengersFromList instead" )
- # Requires access to resource GRAPHQL_PASSENGER_EDIT.
- # Requires access to resource GRAPHQL_PASSENGER
- #
- # Arguments
- # flightNid:
- (
- : FlightNid!
- ): PassengerList! @deprecated( reason: "Please use passengerList->clearPassengersFromList instead" )
- : PassengerListMutation!
- : PassengerForTravelDocumentsMutation!
- # Requires access to resource GRAPHQL_JOURNEY_LOG_EDIT
- : JourneyLogMutation
- # Requires access to resource GRAPHQL_AIRCRAFT_FILTER_EDIT
- #
- # Arguments
- # selectedAircraftList:
- # isAllAircraftSelected:
- # sortBy:
- # aircraftStatus:
- # filterBy:
- # operatorBaseNid:
- # presetNid:
- # place:
- (
- : [AircraftNid!]!,
- : Boolean!,
- : AircraftFilterSortByType!,
- : AircraftFilterStatusType!,
- : String,
- : BaseNid,
- : FilterPresetNid,
- : AircraftFilterPlaceEnum
- ): Boolean!
- # Requires access to resource GRAPHQL_RESERVATION_EDIT
- : ReservationMutation!
- : MaintenanceMutation!
- # Requires access to resource GRAPHQL_FLIGHT_WATCH_EDIT
- : FlightWatchMutation!
- : SalesMutation!
- : OwnerAppMutation!
- : SalesAppMutation!
- : ChecklistMutation!
- # **FEATURE UNDER DEVELOPMENT**
- #
- # Will send text to clients subscribed to echo subscription.
- #
- # Arguments
- # text: Text to send to subscribed clients
- (: String!): Boolean!
- : AccessTokenMutation!
- : PhonebookMutation!
- # Requires access to resource GRAPHQL_CONTACT_EDIT
- : ContactMutation!
- : IataMessagesMutation!
- # Requires access to resource GRAPHQL_AIRPORT
- : AirportMutation!
- # Requires access to resource FUEL_EDIT
- : FuelMutation!
- # Requires access to resource MAILBOX_CONFIG_EDIT
- : MailboxConfigMutationSection!
- # Requires access to resource INTERACTIVE_API_EDIT
- : InteractiveAPIMutation!
- : CountryDirectoryMutation!
- : MultiLegMutation!
- : CrewMemberMutationSection!
- # Requires access to resource GRAPHQL_FLIGHT_PERMITS_EDIT
- : FlightPermitMutation!
- : OwnerBoardMutation!
- : TravelDocumentsMutation!
- # Requires access to resource GRAPHQL_AIRCRAFT_INSURANCE_EDIT
- : AircraftInsuranceMutation!
- # Restricted access only for Leon employees
- : PricingManagerMutation!
- # Requires access to resource GRAPHQL_SABRE_IMPORT
- : CrewTravelMutation!
- # Requires access to resource GRAPHQL_DUTY_EDIT
- : DutyMutation!
- : WebhookMutationSection
- : DutyAccountMutation!
- : HistoryMutationSection!
- : FlightFuelPricesMutation!
- : AirportPriceListMutationSection!
- : AircraftPriceListMutationSection!
- : PairingMutationSection!
- : LeonAccountSettingsMutations!
- # Requires access to resource EMAIL_TEMPLATE_EDIT
- : EmailTemplateMutation!
- # Requires access to resource CREW_MEMBER_EXTERNAL_ENDORSEMENT_EDIT
- : EndorsementMutationSection!
- : DocumentManagerMutationSection!
- # Restricted access only for Leon Support dedicated user
- : FeatureTogglesMutation!
- # Requires access to resource GRAPHQL_AIRPORT_DIRECTORY_EDIT
- : AirportDirectoryMutation!
- # Requires access to resource GRAPHQL_HOTEL_EDIT
- : HotelReservationMutationSection!
- # Requires access to resource GRAPHQL_SECURITY_EDIT
- : SecurityMutation!
- : RecurrenceRuleMutation!
- : AircraftMutation!
- # Requires access to resource GRAPHQL_MX_FLEET_DOCS_EDIT
- : FleetMutation!
- : LoggedUserMutation
- # Requires access to resource GRAPHQL_FLIGHT_CUSTOMER_EDIT
- : FlightCustomerMutation!
- # Requires access to resource REPORT_WIZARD_EDIT
- : ReportWizardMutation!
- : IntegrationMutation!
- : OperatorMutation!
- # Requires access to resource GRAPHQL_EXTERNAL_MARKETPLACE_EDIT
- : ExternalMarketplaceMutation!
- # Requires access to resource GRAPHQL_FLEET_PLANNING_EDIT
- : FleetPlanningMutation!
- : PrivilegesMutation!
- : WingmanAiSettingsMutation!
- # Requires access to resource GRAPHQL_SCHEDULE_ORDER_EDIT
- : ScheduleMutation!
- # Requires access to resource MANAGED_OPERATOR_EDIT
- : LeonAsFlightSupportMutation!
- }
link Require by
This element is not required by anyone