OBJECT

ReservationMutation

Node for reservation mutation

link GraphQL Schema definition

  • type ReservationMutation {
  • # Create aircraft reservation.
  • # Requires access to resource GRAPHQL_ACFT
  • #
  • # Arguments
  • # aircraftNid: [Not documented]
  • # aircraftVirtualNid: [Not documented]
  • # setNotAssignedAircraft: [Not documented]
  • # timeInterval: [Not documented]
  • # startAirport: [Not documented]
  • # endAirport: Used and required when status Opportunity,
  • # startAirport as default.
  • # title: [Not documented]
  • # activityStatus: [Not documented]
  • # isAllowOverlapping: [Not documented]
  • # client: [Not documented]
  • # notes: [Not documented]
  • # fileList: [Not documented]
  • # isChangingPosition: [Not documented]
  • # isAvailableForCharter: [Not documented]
  • # availableForCharterOffset: [Not documented]
  • createAircraftReservation(
  • aircraftNid: AircraftNid,
  • aircraftVirtualNid: AircraftVirtualNid,
  • setNotAssignedAircraft: Boolean,
  • timeInterval: TimeIntervalInput!,
  • startAirport: LocationNid!,
  • endAirport: LocationNid,
  • title: NotEmptyString!,
  • activityStatus: ReservationStatus!,
  • isAllowOverlapping: Boolean!,
  • client: ClientContactInput,
  • notes: String,
  • fileList: [FileDataInput!],
  • isChangingPosition: Boolean!,
  • isAvailableForCharter: Boolean!,
  • availableForCharterOffset: TimeLong
  • ): AircraftReservation!
  • # Modify aircraft reservation.
  • # Requires access to resource GRAPHQL_ACFT.
  • # Requires access to given reservation
  • #
  • # Arguments
  • # aircraftReservationNid: [Not documented]
  • # aircraftNid: [Not documented]
  • # aircraftVirtualNid: [Not documented]
  • # setNotAssignedAircraft: [Not documented]
  • # timeInterval: [Not documented]
  • # startAirport: [Not documented]
  • # endAirport: Used and required when status Opportunity,
  • # startAirport as default.
  • # title: [Not documented]
  • # activityStatus: [Not documented]
  • # isAllowOverlapping: [Not documented]
  • # client: [Not documented]
  • # notes: [Not documented]
  • # fileList: [Not documented]
  • # isChangingPosition: [Not documented]
  • # isAvailableForCharter: [Not documented]
  • # availableForCharterOffset: [Not documented]
  • modifyAircraftReservation(
  • aircraftReservationNid: AircraftReservationNid!,
  • aircraftNid: AircraftNid,
  • aircraftVirtualNid: AircraftVirtualNid,
  • setNotAssignedAircraft: Boolean,
  • timeInterval: TimeIntervalInput,
  • startAirport: LocationNid,
  • endAirport: LocationNid,
  • title: NotEmptyString,
  • activityStatus: ReservationStatus,
  • isAllowOverlapping: Boolean,
  • client: ClientContactInput,
  • notes: String,
  • fileList: [FileDataInput!],
  • isChangingPosition: Boolean,
  • isAvailableForCharter: Boolean,
  • availableForCharterOffset: TimeLong
  • ): AircraftReservation!
  • # Delete aircraft reservation.
  • # Requires access to given reservation
  • #
  • # Arguments
  • # aircraftReservationNid: [Not documented]
  • deleteAircraftReservation(
  • aircraftReservationNid: AircraftReservationNid!
  • ): Boolean!
  • }