Documentation
    Preparing search index...
    • Parameters

      • body: {
            groupedItineraryResponse: {
                baggageAllowanceDescs?: {
                    description1?: string;
                    description2?: string;
                    id: number;
                    pieceCount?: number;
                    unit?: string;
                    weight?: number;
                }[];
                baggageChargeDescs?: {
                    description1?: string;
                    description2?: string;
                    equivalentAmount?: number;
                    equivalentCurrency?: string;
                    firstPiece?: number;
                    id: number;
                    lastPiece?: number;
                    noChargeNotAvailable?: string;
                }[];
                brandFeatureDescs?: {
                    application: string;
                    commercialName: string;
                    id: number;
                    serviceGroup: string;
                    serviceType: string;
                    subCode: string;
                    vendor: string;
                }[];
                fareComponentDescs?: {
                    applicablePricingCategories?: string;
                    aslRetailerRuleCode?: string;
                    brand?: {
                        brandName?: string;
                        code: string;
                        priceClassDescriptionRef?: number;
                        programCode?: string;
                        programDescription?: string;
                        programId?: string;
                        programSystemCode?: string;
                    };
                    cabinCode?: string;
                    corporateIdMatched?: boolean;
                    direction?: | "AF"
                    | "AL"
                    | "AP"
                    | "AT"
                    | "CA"
                    | "CT"
                    | "DI"
                    | "DO"
                    | "DU"
                    | "EH"
                    | "EM"
                    | "EU"
                    | "FE"
                    | "IN"
                    | "ME"
                    | "NA"
                    | "NP"
                    | "PA"
                    | "PE"
                    | "PN"
                    | "PO"
                    | "PV"
                    | "RU"
                    | "RW"
                    | "SA"
                    | "SN"
                    | "SP"
                    | "TB"
                    | "TS"
                    | "TT"
                    | "US"
                    | "WH"
                    | "XX";
                    directionality?: string;
                    displayCategoryType?: string;
                    fareAmount?: number;
                    fareBasisCode: string;
                    fareCode?: string;
                    fareComponentReferenceId?: number;
                    fareCurrency?: string;
                    fareDescription?: string;
                    farePassengerType: string;
                    fareRule?: string;
                    fareTariff?: string;
                    fareType?: string;
                    fareTypeBitmap?: string;
                    generalRetailerRuleCode?: string;
                    governingCarrier?: string;
                    handlingMarkupDetails?: {
                        amountCurrency?: string;
                        fareAmountAfterMarkup?: number;
                        markupAmount?: number;
                        markupHandlingFeeAppId?: string;
                        markupRuleItemNumber?: number;
                        markupRuleSourcePcc?: string;
                        markupTypeCode?: string;
                        retailerRuleQualifier?: string;
                    }[];
                    higherIntermediatePoints?: {
                        amount?: number;
                        cabinHigh?: string;
                        cabinLow?: string;
                        destination?: string;
                        fareClassHigh?: string;
                        fareClassLow?: string;
                        highDestination?: string;
                        highOrigin?: string;
                        lowDestination?: string;
                        lowOrigin?: string;
                        mileageSurchargePercentage?: number;
                        origin?: string;
                    }[];
                    id: number;
                    matchedAccountCode?: string;
                    mileage?: boolean;
                    mileageSurcharge?: number;
                    milesAmount?: number;
                    negotiatedFare?: boolean;
                    notValidAfter?: string;
                    notValidBefore?: string;
                    oneWayFare?: boolean;
                    plusUps?: {
                        amount: number;
                        countryOfPayment?: string;
                        destination: string;
                        fareDestination?: string;
                        fareOrigin?: string;
                        message: string;
                        origin: string;
                        viaCity?: string;
                    }[];
                    privateFare?: boolean;
                    publishedFareAmount?: number;
                    publishedFareCurrency?: string;
                    segments: {
                        segment?: {
                            extraMileageAllowance?: boolean;
                            sideTrip?: { begin?: boolean; end?: boolean };
                            stopover?: boolean;
                            stopoverCharge?: number;
                            stopoverChargeCurrency?: string;
                            surcharges?: {
                                amount: number;
                                currency: string;
                                description?: string;
                                type?: string;
                            }[];
                            transferCharge?: number;
                        };
                        surface?: {
                            extraMileageAllowance?: boolean;
                            stopover?: boolean;
                            stopoverCharge?: number;
                            stopoverChargeCurrency?: string;
                            unchargeable?: boolean;
                        };
                    }[];
                    ticketDesignator?: string;
                    vendorCode?: string;
                    webBasedFare?: boolean;
                }[];
                flightAmenities?: {
                    beverage?: {
                        alcoholicCost?: "free"
                        | "paid";
                        exists?: boolean;
                        id: number;
                        nonAlcoholicCost?: "free" | "paid";
                    }[];
                    entertainment?: {
                        cost?: "free"
                        | "paid";
                        exists?: boolean;
                        id: number;
                        type?: string;
                    }[];
                    food?: {
                        cost?: "free"
                        | "paid";
                        exists?: boolean;
                        id: number;
                        type?: string;
                    }[];
                    layout?: { directAisleAccess?: boolean; id: number; rowLayout?: string }[];
                    power?: {
                        cost?: "free" | "paid";
                        distribution?: string;
                        id: number;
                        type?: string;
                    }[];
                    seat?: { id: number; pitch?: string; type?: string }[];
                    wifi?: {
                        cost?: "free" | "paid";
                        exists?: boolean;
                        id: number;
                        type?: string;
                    }[];
                };
                itineraryGroups?: {
                    groupDescription: {
                        itineraryType?: string;
                        legDescriptions: {
                            arrivalLocation?: string;
                            departureDate: string;
                            departureLocation?: string;
                        }[];
                    };
                    itineraries?: {
                        currentItinerary?: boolean;
                        diversitySwapper?: { weighedPrice: number };
                        failed?: { minimumConnectTime?: boolean };
                        id: number;
                        itinSource?: string;
                        legs?: { departureDate?: string; ref: number }[];
                        originDestinationInformationRef?: number;
                        pricingInformation?: {
                            brand?: string;
                            brandsOnAnyMarket?: boolean;
                            cached?: {
                                hoursSinceCreation?: number;
                                ref: number;
                                timeToLive?: number;
                            };
                            fare?: {
                                ancillaryFeeGroup?: {
                                    ancillaryFees?: (...)[];
                                    message?: string;
                                    orderStandardBag?: { passengerBags: ... };
                                };
                                divideByParty?: boolean;
                                eTicketable?: boolean;
                                governingCarriers?: string;
                                lastTicketDate?: string;
                                lastTicketTime?: string;
                                mandatoryInd?: boolean;
                                offerItemId?: string;
                                passengerInfoList: {
                                    passengerInfo?: ...;
                                    passengerNotAvailableInfo?: ...;
                                }[];
                                reissue?: boolean;
                                reissueText?: string;
                                serviceId?: string;
                                simultaneousReservation?: boolean;
                                spanishFamilyDiscount?: string;
                                totalFare?: {
                                    airExtrasAmount?: number;
                                    baseFareAmount?: number;
                                    baseFareCurrency?: string;
                                    bookingFeeAmount?: number;
                                    constructionAmount?: number;
                                    constructionCurrency?: string;
                                    creditCardFeeAmount?: number;
                                    currency: string;
                                    effectivePriceDeviation?: number;
                                    equivalentAmount?: number;
                                    equivalentCurrency?: string;
                                    serviceFeeAmount?: number;
                                    serviceFeeTax?: number;
                                    totalPrice: number;
                                    totalPriceWithAirExtras?: number;
                                    totalTaxAmount: number;
                                    totalTtypeObFee?: number;
                                };
                                validatingCarrierCode?: string;
                                validatingCarriers?: { ref: ... }[];
                                vita?: boolean;
                            };
                            flexibleFare?: number;
                            offer?: { offerId: string; source: string; timeToLive: number };
                            passengerGroup?: number;
                            PoSCountryCode?: string;
                            pricingSubsource?: string;
                            program?: string;
                            pseudoCityCode?: string;
                            revalidated?: boolean;
                            soldOut?: {
                                soldOutLegs?: {
                                    brandCode?: ...;
                                    brandDescription?: ...;
                                    programCode?: ...;
                                    programId?: ...;
                                    programName?: ...;
                                    programSystemCode?: ...;
                                    ref: ...;
                                    soldOutSchedules?: ...;
                                    status?: ...;
                                }[];
                                status?: string;
                            };
                            tickets?: {
                                legs?: (...)[];
                                pricingInformation: { PoSCountryCode?: string; brand?: string; brandsOnAnyMarket?: boolean; cached?: { hoursSinceCreation?: number; ref: number; timeToLive?: number; }; fare?: { ancillaryFeeGroup?: { ancillaryFees?: { code: string; details?: { ...; }[]; message?: string; name: string; }[]; message?: string; orderStandardBag?: { ...; };...;
                            }[];
                        }[];
                        pricingSource: string;
                        routingItinerary?: boolean;
                        sabreConnectLite?: boolean;
                    }[];
                    processingMessages?: { pricingSource: string; text: string }[];
                }[];
                legDescs?: {
                    elapsedTime?: number;
                    id?: number;
                    schedules: {
                        departureDateAdjustment?: number;
                        ref: number;
                        requestedStopover?: boolean;
                    }[];
                }[];
                messages: {
                    code?: string;
                    numberOfOccurences?: number;
                    severity?: string;
                    shortCode?: string;
                    text?: string;
                    type?: string;
                    value?: string;
                }[];
                obFeeDescs?: {
                    amount: number;
                    currency: string;
                    description?: string;
                    id: number;
                    type?: string;
                }[];
                originalItineraryDesc?: {
                    taxes: {
                        passengerIndex: number;
                        tax: { refundable?: boolean; taxCode: string }[];
                    }[];
                };
                passengerDescs?: {
                    givenName?: string;
                    id: number;
                    passengerId?: string;
                    surname?: string;
                }[];
                priceClassDescriptions?: {
                    descriptions: { id?: string; text: string }[];
                    id: number;
                }[];
                scheduleDescs?: {
                    arrival: {
                        airport: string;
                        city?: string;
                        country?: string;
                        dateAdjustment?: number;
                        state?: string;
                        terminal?: string;
                        time: string;
                    };
                    bookingDetails?: { classOfService?: string; mealCodeList?: string };
                    carrier: {
                        alliances?: string;
                        basicBookingRequest?: boolean;
                        callDirect?: boolean;
                        codeShared?: string;
                        disclosure?: string;
                        equipment?: {
                            change?: boolean;
                            code?: string;
                            typeForFirstLeg?: string;
                            typeForLastLeg?: string;
                        };
                        marketing: string;
                        marketingFlightNumber: number;
                        operating?: string;
                        operatingFlightNumber?: number;
                    };
                    departure: {
                        airport: string;
                        city?: string;
                        country?: string;
                        state?: string;
                        terminal?: string;
                        time: string;
                    };
                    dotRating?: string;
                    elapsedTime?: number;
                    eTicketable?: boolean;
                    flightStatused?: number;
                    frequency?: string;
                    funnel?: boolean;
                    governmentApproval?: boolean;
                    hiddenStops?: {
                        airMiles?: number;
                        airport: string;
                        arrivalDateAdjustment?: number;
                        arrivalTime?: string;
                        city?: string;
                        country?: string;
                        departureDateAdjustment?: number;
                        departureTime?: string;
                        elapsedLayoverTime?: number;
                        elapsedTime?: number;
                        equipment?: string;
                        state?: string;
                    }[];
                    id: number;
                    message?: string;
                    messageType?: string;
                    onTimePerformance?: number;
                    smokingAllowed?: boolean;
                    stopCount?: number;
                    totalMilesFlown?: number;
                    trafficRestriction?: string;
                }[];
                scheduleMessages?: {
                    destination: string;
                    origin: string;
                    pricingSource: string;
                    text?: string;
                    type?: string;
                }[];
                statistics?: {
                    branded?: number;
                    departed?: number;
                    itineraryCount?: number;
                    legMissed?: number;
                    oneWay?: number;
                    soldOut?: number;
                };
                taxDescs?: {
                    amount: number;
                    carrier?: string;
                    code: string;
                    country?: string;
                    currency: string;
                    description?: string;
                    id: number;
                    publishedAmount?: number;
                    publishedCurrency?: string;
                    station?: string;
                    taxReissue?: {
                        maxAmount?: number;
                        maxCurrency?: string;
                        refundable?: boolean;
                        restrictionApply?: boolean;
                        taxType?: string;
                    };
                    taxRestrictions?: {
                        currency?: string;
                        maxAmount?: number;
                        minAmount?: number;
                        rate?: number;
                    };
                }[];
                taxSummaryDescs?: {
                    amount: number;
                    code: string;
                    country?: string;
                    currency: string;
                    description?: string;
                    id: number;
                    publishedAmount?: number;
                    publishedCurrency?: string;
                    station?: string;
                }[];
                upaCategoryDescs?: { id: number; name: string }[];
                upaDescs?: {
                    attributeDescription?: string;
                    categories?: { ref: number }[];
                    ctaText?: string;
                    ctaUrl?: string;
                    description?: string;
                    headline?: string;
                    id: number;
                    largeIconUrl?: string;
                    photos?: { ref: number }[];
                    smallIconUrl?: string;
                    tour?: { ref: number };
                    video?: { ref: number };
                }[];
                upaPhotoDescs?: {
                    caption: string;
                    id: number;
                    largeUrl: string;
                    mediumSquareUrl: string;
                    thumbUrl: string;
                    url: string;
                }[];
                upaTourDescs?: {
                    caption: string;
                    embedUrl: string;
                    id: number;
                    mediumSquareUrl: string;
                    thumbUrl: string;
                }[];
                upaVideoDescs?: {
                    caption: string;
                    embedUrl: string;
                    id: number;
                    mediumSquareUrl: string;
                    thumbUrl: string;
                }[];
                utaDescs?: {
                    application?: string;
                    assessment: string;
                    categoryId: string;
                    commercialName?: string;
                    descriptions: string;
                    groupCode?: string;
                    headline: string;
                    id: number;
                    largeIconUrl: string;
                    smallIconUrl: string;
                    subCode?: string;
                }[];
                validatingCarrierDescs?: {
                    alternates?: {
                        code?: string;
                        ietCountryWobsp?: { country?: { code: string }[] };
                    }[];
                    country?: string;
                    default?: {
                        code?: string;
                        ietCountryWobsp?: { country?: { code: string }[] };
                    };
                    id: number;
                    newVcxProcess?: boolean;
                    otherTicketings?: {
                        code?: string;
                        ietCountryWobsp?: { country?: { code: string }[] };
                    }[];
                    settlementMethod?: string;
                }[];
                version: string;
            };
        }
        • groupedItineraryResponse: {
              baggageAllowanceDescs?: {
                  description1?: string;
                  description2?: string;
                  id: number;
                  pieceCount?: number;
                  unit?: string;
                  weight?: number;
              }[];
              baggageChargeDescs?: {
                  description1?: string;
                  description2?: string;
                  equivalentAmount?: number;
                  equivalentCurrency?: string;
                  firstPiece?: number;
                  id: number;
                  lastPiece?: number;
                  noChargeNotAvailable?: string;
              }[];
              brandFeatureDescs?: {
                  application: string;
                  commercialName: string;
                  id: number;
                  serviceGroup: string;
                  serviceType: string;
                  subCode: string;
                  vendor: string;
              }[];
              fareComponentDescs?: {
                  applicablePricingCategories?: string;
                  aslRetailerRuleCode?: string;
                  brand?: {
                      brandName?: string;
                      code: string;
                      priceClassDescriptionRef?: number;
                      programCode?: string;
                      programDescription?: string;
                      programId?: string;
                      programSystemCode?: string;
                  };
                  cabinCode?: string;
                  corporateIdMatched?: boolean;
                  direction?: | "AF"
                  | "AL"
                  | "AP"
                  | "AT"
                  | "CA"
                  | "CT"
                  | "DI"
                  | "DO"
                  | "DU"
                  | "EH"
                  | "EM"
                  | "EU"
                  | "FE"
                  | "IN"
                  | "ME"
                  | "NA"
                  | "NP"
                  | "PA"
                  | "PE"
                  | "PN"
                  | "PO"
                  | "PV"
                  | "RU"
                  | "RW"
                  | "SA"
                  | "SN"
                  | "SP"
                  | "TB"
                  | "TS"
                  | "TT"
                  | "US"
                  | "WH"
                  | "XX";
                  directionality?: string;
                  displayCategoryType?: string;
                  fareAmount?: number;
                  fareBasisCode: string;
                  fareCode?: string;
                  fareComponentReferenceId?: number;
                  fareCurrency?: string;
                  fareDescription?: string;
                  farePassengerType: string;
                  fareRule?: string;
                  fareTariff?: string;
                  fareType?: string;
                  fareTypeBitmap?: string;
                  generalRetailerRuleCode?: string;
                  governingCarrier?: string;
                  handlingMarkupDetails?: {
                      amountCurrency?: string;
                      fareAmountAfterMarkup?: number;
                      markupAmount?: number;
                      markupHandlingFeeAppId?: string;
                      markupRuleItemNumber?: number;
                      markupRuleSourcePcc?: string;
                      markupTypeCode?: string;
                      retailerRuleQualifier?: string;
                  }[];
                  higherIntermediatePoints?: {
                      amount?: number;
                      cabinHigh?: string;
                      cabinLow?: string;
                      destination?: string;
                      fareClassHigh?: string;
                      fareClassLow?: string;
                      highDestination?: string;
                      highOrigin?: string;
                      lowDestination?: string;
                      lowOrigin?: string;
                      mileageSurchargePercentage?: number;
                      origin?: string;
                  }[];
                  id: number;
                  matchedAccountCode?: string;
                  mileage?: boolean;
                  mileageSurcharge?: number;
                  milesAmount?: number;
                  negotiatedFare?: boolean;
                  notValidAfter?: string;
                  notValidBefore?: string;
                  oneWayFare?: boolean;
                  plusUps?: {
                      amount: number;
                      countryOfPayment?: string;
                      destination: string;
                      fareDestination?: string;
                      fareOrigin?: string;
                      message: string;
                      origin: string;
                      viaCity?: string;
                  }[];
                  privateFare?: boolean;
                  publishedFareAmount?: number;
                  publishedFareCurrency?: string;
                  segments: {
                      segment?: {
                          extraMileageAllowance?: boolean;
                          sideTrip?: { begin?: boolean; end?: boolean };
                          stopover?: boolean;
                          stopoverCharge?: number;
                          stopoverChargeCurrency?: string;
                          surcharges?: {
                              amount: number;
                              currency: string;
                              description?: string;
                              type?: string;
                          }[];
                          transferCharge?: number;
                      };
                      surface?: {
                          extraMileageAllowance?: boolean;
                          stopover?: boolean;
                          stopoverCharge?: number;
                          stopoverChargeCurrency?: string;
                          unchargeable?: boolean;
                      };
                  }[];
                  ticketDesignator?: string;
                  vendorCode?: string;
                  webBasedFare?: boolean;
              }[];
              flightAmenities?: {
                  beverage?: {
                      alcoholicCost?: "free"
                      | "paid";
                      exists?: boolean;
                      id: number;
                      nonAlcoholicCost?: "free" | "paid";
                  }[];
                  entertainment?: {
                      cost?: "free"
                      | "paid";
                      exists?: boolean;
                      id: number;
                      type?: string;
                  }[];
                  food?: {
                      cost?: "free"
                      | "paid";
                      exists?: boolean;
                      id: number;
                      type?: string;
                  }[];
                  layout?: { directAisleAccess?: boolean; id: number; rowLayout?: string }[];
                  power?: {
                      cost?: "free" | "paid";
                      distribution?: string;
                      id: number;
                      type?: string;
                  }[];
                  seat?: { id: number; pitch?: string; type?: string }[];
                  wifi?: {
                      cost?: "free" | "paid";
                      exists?: boolean;
                      id: number;
                      type?: string;
                  }[];
              };
              itineraryGroups?: {
                  groupDescription: {
                      itineraryType?: string;
                      legDescriptions: {
                          arrivalLocation?: string;
                          departureDate: string;
                          departureLocation?: string;
                      }[];
                  };
                  itineraries?: {
                      currentItinerary?: boolean;
                      diversitySwapper?: { weighedPrice: number };
                      failed?: { minimumConnectTime?: boolean };
                      id: number;
                      itinSource?: string;
                      legs?: { departureDate?: string; ref: number }[];
                      originDestinationInformationRef?: number;
                      pricingInformation?: {
                          brand?: string;
                          brandsOnAnyMarket?: boolean;
                          cached?: {
                              hoursSinceCreation?: number;
                              ref: number;
                              timeToLive?: number;
                          };
                          fare?: {
                              ancillaryFeeGroup?: {
                                  ancillaryFees?: (...)[];
                                  message?: string;
                                  orderStandardBag?: { passengerBags: ... };
                              };
                              divideByParty?: boolean;
                              eTicketable?: boolean;
                              governingCarriers?: string;
                              lastTicketDate?: string;
                              lastTicketTime?: string;
                              mandatoryInd?: boolean;
                              offerItemId?: string;
                              passengerInfoList: {
                                  passengerInfo?: ...;
                                  passengerNotAvailableInfo?: ...;
                              }[];
                              reissue?: boolean;
                              reissueText?: string;
                              serviceId?: string;
                              simultaneousReservation?: boolean;
                              spanishFamilyDiscount?: string;
                              totalFare?: {
                                  airExtrasAmount?: number;
                                  baseFareAmount?: number;
                                  baseFareCurrency?: string;
                                  bookingFeeAmount?: number;
                                  constructionAmount?: number;
                                  constructionCurrency?: string;
                                  creditCardFeeAmount?: number;
                                  currency: string;
                                  effectivePriceDeviation?: number;
                                  equivalentAmount?: number;
                                  equivalentCurrency?: string;
                                  serviceFeeAmount?: number;
                                  serviceFeeTax?: number;
                                  totalPrice: number;
                                  totalPriceWithAirExtras?: number;
                                  totalTaxAmount: number;
                                  totalTtypeObFee?: number;
                              };
                              validatingCarrierCode?: string;
                              validatingCarriers?: { ref: ... }[];
                              vita?: boolean;
                          };
                          flexibleFare?: number;
                          offer?: { offerId: string; source: string; timeToLive: number };
                          passengerGroup?: number;
                          PoSCountryCode?: string;
                          pricingSubsource?: string;
                          program?: string;
                          pseudoCityCode?: string;
                          revalidated?: boolean;
                          soldOut?: {
                              soldOutLegs?: {
                                  brandCode?: ...;
                                  brandDescription?: ...;
                                  programCode?: ...;
                                  programId?: ...;
                                  programName?: ...;
                                  programSystemCode?: ...;
                                  ref: ...;
                                  soldOutSchedules?: ...;
                                  status?: ...;
                              }[];
                              status?: string;
                          };
                          tickets?: {
                              legs?: (...)[];
                              pricingInformation: { PoSCountryCode?: string; brand?: string; brandsOnAnyMarket?: boolean; cached?: { hoursSinceCreation?: number; ref: number; timeToLive?: number; }; fare?: { ancillaryFeeGroup?: { ancillaryFees?: { code: string; details?: { ...; }[]; message?: string; name: string; }[]; message?: string; orderStandardBag?: { ...; };...;
                          }[];
                      }[];
                      pricingSource: string;
                      routingItinerary?: boolean;
                      sabreConnectLite?: boolean;
                  }[];
                  processingMessages?: { pricingSource: string; text: string }[];
              }[];
              legDescs?: {
                  elapsedTime?: number;
                  id?: number;
                  schedules: {
                      departureDateAdjustment?: number;
                      ref: number;
                      requestedStopover?: boolean;
                  }[];
              }[];
              messages: {
                  code?: string;
                  numberOfOccurences?: number;
                  severity?: string;
                  shortCode?: string;
                  text?: string;
                  type?: string;
                  value?: string;
              }[];
              obFeeDescs?: {
                  amount: number;
                  currency: string;
                  description?: string;
                  id: number;
                  type?: string;
              }[];
              originalItineraryDesc?: {
                  taxes: {
                      passengerIndex: number;
                      tax: { refundable?: boolean; taxCode: string }[];
                  }[];
              };
              passengerDescs?: {
                  givenName?: string;
                  id: number;
                  passengerId?: string;
                  surname?: string;
              }[];
              priceClassDescriptions?: {
                  descriptions: { id?: string; text: string }[];
                  id: number;
              }[];
              scheduleDescs?: {
                  arrival: {
                      airport: string;
                      city?: string;
                      country?: string;
                      dateAdjustment?: number;
                      state?: string;
                      terminal?: string;
                      time: string;
                  };
                  bookingDetails?: { classOfService?: string; mealCodeList?: string };
                  carrier: {
                      alliances?: string;
                      basicBookingRequest?: boolean;
                      callDirect?: boolean;
                      codeShared?: string;
                      disclosure?: string;
                      equipment?: {
                          change?: boolean;
                          code?: string;
                          typeForFirstLeg?: string;
                          typeForLastLeg?: string;
                      };
                      marketing: string;
                      marketingFlightNumber: number;
                      operating?: string;
                      operatingFlightNumber?: number;
                  };
                  departure: {
                      airport: string;
                      city?: string;
                      country?: string;
                      state?: string;
                      terminal?: string;
                      time: string;
                  };
                  dotRating?: string;
                  elapsedTime?: number;
                  eTicketable?: boolean;
                  flightStatused?: number;
                  frequency?: string;
                  funnel?: boolean;
                  governmentApproval?: boolean;
                  hiddenStops?: {
                      airMiles?: number;
                      airport: string;
                      arrivalDateAdjustment?: number;
                      arrivalTime?: string;
                      city?: string;
                      country?: string;
                      departureDateAdjustment?: number;
                      departureTime?: string;
                      elapsedLayoverTime?: number;
                      elapsedTime?: number;
                      equipment?: string;
                      state?: string;
                  }[];
                  id: number;
                  message?: string;
                  messageType?: string;
                  onTimePerformance?: number;
                  smokingAllowed?: boolean;
                  stopCount?: number;
                  totalMilesFlown?: number;
                  trafficRestriction?: string;
              }[];
              scheduleMessages?: {
                  destination: string;
                  origin: string;
                  pricingSource: string;
                  text?: string;
                  type?: string;
              }[];
              statistics?: {
                  branded?: number;
                  departed?: number;
                  itineraryCount?: number;
                  legMissed?: number;
                  oneWay?: number;
                  soldOut?: number;
              };
              taxDescs?: {
                  amount: number;
                  carrier?: string;
                  code: string;
                  country?: string;
                  currency: string;
                  description?: string;
                  id: number;
                  publishedAmount?: number;
                  publishedCurrency?: string;
                  station?: string;
                  taxReissue?: {
                      maxAmount?: number;
                      maxCurrency?: string;
                      refundable?: boolean;
                      restrictionApply?: boolean;
                      taxType?: string;
                  };
                  taxRestrictions?: {
                      currency?: string;
                      maxAmount?: number;
                      minAmount?: number;
                      rate?: number;
                  };
              }[];
              taxSummaryDescs?: {
                  amount: number;
                  code: string;
                  country?: string;
                  currency: string;
                  description?: string;
                  id: number;
                  publishedAmount?: number;
                  publishedCurrency?: string;
                  station?: string;
              }[];
              upaCategoryDescs?: { id: number; name: string }[];
              upaDescs?: {
                  attributeDescription?: string;
                  categories?: { ref: number }[];
                  ctaText?: string;
                  ctaUrl?: string;
                  description?: string;
                  headline?: string;
                  id: number;
                  largeIconUrl?: string;
                  photos?: { ref: number }[];
                  smallIconUrl?: string;
                  tour?: { ref: number };
                  video?: { ref: number };
              }[];
              upaPhotoDescs?: {
                  caption: string;
                  id: number;
                  largeUrl: string;
                  mediumSquareUrl: string;
                  thumbUrl: string;
                  url: string;
              }[];
              upaTourDescs?: {
                  caption: string;
                  embedUrl: string;
                  id: number;
                  mediumSquareUrl: string;
                  thumbUrl: string;
              }[];
              upaVideoDescs?: {
                  caption: string;
                  embedUrl: string;
                  id: number;
                  mediumSquareUrl: string;
                  thumbUrl: string;
              }[];
              utaDescs?: {
                  application?: string;
                  assessment: string;
                  categoryId: string;
                  commercialName?: string;
                  descriptions: string;
                  groupCode?: string;
                  headline: string;
                  id: number;
                  largeIconUrl: string;
                  smallIconUrl: string;
                  subCode?: string;
              }[];
              validatingCarrierDescs?: {
                  alternates?: {
                      code?: string;
                      ietCountryWobsp?: { country?: { code: string }[] };
                  }[];
                  country?: string;
                  default?: {
                      code?: string;
                      ietCountryWobsp?: { country?: { code: string }[] };
                  };
                  id: number;
                  newVcxProcess?: boolean;
                  otherTicketings?: {
                      code?: string;
                      ietCountryWobsp?: { country?: { code: string }[] };
                  }[];
                  settlementMethod?: string;
              }[];
              version: string;
          }

          Grouped Itinerary Response.

          • OptionalbaggageAllowanceDescs?: {
                description1?: string;
                description2?: string;
                id: number;
                pieceCount?: number;
                unit?: string;
                weight?: number;
            }[]

            Baggage Allowance information.

          • OptionalbaggageChargeDescs?: {
                description1?: string;
                description2?: string;
                equivalentAmount?: number;
                equivalentCurrency?: string;
                firstPiece?: number;
                id: number;
                lastPiece?: number;
                noChargeNotAvailable?: string;
            }[]

            Baggage Allowance information.

          • OptionalbrandFeatureDescs?: {
                application: string;
                commercialName: string;
                id: number;
                serviceGroup: string;
                serviceType: string;
                subCode: string;
                vendor: string;
            }[]

            Features Table (166) information (ancillaries attached to brand).

          • OptionalfareComponentDescs?: {
                applicablePricingCategories?: string;
                aslRetailerRuleCode?: string;
                brand?: {
                    brandName?: string;
                    code: string;
                    priceClassDescriptionRef?: number;
                    programCode?: string;
                    programDescription?: string;
                    programId?: string;
                    programSystemCode?: string;
                };
                cabinCode?: string;
                corporateIdMatched?: boolean;
                direction?: | "AF"
                | "AL"
                | "AP"
                | "AT"
                | "CA"
                | "CT"
                | "DI"
                | "DO"
                | "DU"
                | "EH"
                | "EM"
                | "EU"
                | "FE"
                | "IN"
                | "ME"
                | "NA"
                | "NP"
                | "PA"
                | "PE"
                | "PN"
                | "PO"
                | "PV"
                | "RU"
                | "RW"
                | "SA"
                | "SN"
                | "SP"
                | "TB"
                | "TS"
                | "TT"
                | "US"
                | "WH"
                | "XX";
                directionality?: string;
                displayCategoryType?: string;
                fareAmount?: number;
                fareBasisCode: string;
                fareCode?: string;
                fareComponentReferenceId?: number;
                fareCurrency?: string;
                fareDescription?: string;
                farePassengerType: string;
                fareRule?: string;
                fareTariff?: string;
                fareType?: string;
                fareTypeBitmap?: string;
                generalRetailerRuleCode?: string;
                governingCarrier?: string;
                handlingMarkupDetails?: {
                    amountCurrency?: string;
                    fareAmountAfterMarkup?: number;
                    markupAmount?: number;
                    markupHandlingFeeAppId?: string;
                    markupRuleItemNumber?: number;
                    markupRuleSourcePcc?: string;
                    markupTypeCode?: string;
                    retailerRuleQualifier?: string;
                }[];
                higherIntermediatePoints?: {
                    amount?: number;
                    cabinHigh?: string;
                    cabinLow?: string;
                    destination?: string;
                    fareClassHigh?: string;
                    fareClassLow?: string;
                    highDestination?: string;
                    highOrigin?: string;
                    lowDestination?: string;
                    lowOrigin?: string;
                    mileageSurchargePercentage?: number;
                    origin?: string;
                }[];
                id: number;
                matchedAccountCode?: string;
                mileage?: boolean;
                mileageSurcharge?: number;
                milesAmount?: number;
                negotiatedFare?: boolean;
                notValidAfter?: string;
                notValidBefore?: string;
                oneWayFare?: boolean;
                plusUps?: {
                    amount: number;
                    countryOfPayment?: string;
                    destination: string;
                    fareDestination?: string;
                    fareOrigin?: string;
                    message: string;
                    origin: string;
                    viaCity?: string;
                }[];
                privateFare?: boolean;
                publishedFareAmount?: number;
                publishedFareCurrency?: string;
                segments: {
                    segment?: {
                        extraMileageAllowance?: boolean;
                        sideTrip?: { begin?: boolean; end?: boolean };
                        stopover?: boolean;
                        stopoverCharge?: number;
                        stopoverChargeCurrency?: string;
                        surcharges?: {
                            amount: number;
                            currency: string;
                            description?: string;
                            type?: string;
                        }[];
                        transferCharge?: number;
                    };
                    surface?: {
                        extraMileageAllowance?: boolean;
                        stopover?: boolean;
                        stopoverCharge?: number;
                        stopoverChargeCurrency?: string;
                        unchargeable?: boolean;
                    };
                }[];
                ticketDesignator?: string;
                vendorCode?: string;
                webBasedFare?: boolean;
            }[]

            Fare calculation information.

          • OptionalflightAmenities?: {
                beverage?: {
                    alcoholicCost?: "free" | "paid";
                    exists?: boolean;
                    id: number;
                    nonAlcoholicCost?: "free" | "paid";
                }[];
                entertainment?: {
                    cost?: "free"
                    | "paid";
                    exists?: boolean;
                    id: number;
                    type?: string;
                }[];
                food?: {
                    cost?: "free"
                    | "paid";
                    exists?: boolean;
                    id: number;
                    type?: string;
                }[];
                layout?: { directAisleAccess?: boolean; id: number; rowLayout?: string }[];
                power?: {
                    cost?: "free" | "paid";
                    distribution?: string;
                    id: number;
                    type?: string;
                }[];
                seat?: { id: number; pitch?: string; type?: string }[];
                wifi?: {
                    cost?: "free" | "paid";
                    exists?: boolean;
                    id: number;
                    type?: string;
                }[];
            }

            FlightAmenities are presented in an indexed way that can easily be associated with flight components. List of all Flight Amenities of different types that are available on any of the returned flights. They are later referenced from other elements.

            • Optionalbeverage?: {
                  alcoholicCost?: "free" | "paid";
                  exists?: boolean;
                  id: number;
                  nonAlcoholicCost?: "free" | "paid";
              }[]

              Identifies beverage service in a given cabin. These elements are later referenced from FlightAmenities.

            • Optionalentertainment?: { cost?: "free" | "paid"; exists?: boolean; id: number; type?: string }[]

              This describes best available entertainment in a given cabin. These alements are later referenced from FlightAmenities.

            • Optionalfood?: { cost?: "free" | "paid"; exists?: boolean; id: number; type?: string }[]

              Contains the dominating row layout in a given cabin. These elements are later referenced from FlightAmenities.

            • Optionallayout?: { directAisleAccess?: boolean; id: number; rowLayout?: string }[]

              This describes the dominating row layout in a given cabin. These alements are later referenced from FlightAmenities.

            • Optionalpower?: { cost?: "free" | "paid"; distribution?: string; id: number; type?: string }[]

              This describes electric power access in a given cabin. These elements are later referenced from FlightAmenities.

            • Optionalseat?: { id: number; pitch?: string; type?: string }[]

              This describes seat options in a given cabin. These elements are later referenced from FlightAmenities.

            • Optionalwifi?: { cost?: "free" | "paid"; exists?: boolean; id: number; type?: string }[]

              This describes wi-fi service in a given cabin. These elements are later referenced from FlightAmenities.

          • OptionalitineraryGroups?: {
                groupDescription: {
                    itineraryType?: string;
                    legDescriptions: {
                        arrivalLocation?: string;
                        departureDate: string;
                        departureLocation?: string;
                    }[];
                };
                itineraries?: {
                    currentItinerary?: boolean;
                    diversitySwapper?: { weighedPrice: number };
                    failed?: { minimumConnectTime?: boolean };
                    id: number;
                    itinSource?: string;
                    legs?: { departureDate?: string; ref: number }[];
                    originDestinationInformationRef?: number;
                    pricingInformation?: {
                        brand?: string;
                        brandsOnAnyMarket?: boolean;
                        cached?: {
                            hoursSinceCreation?: number;
                            ref: number;
                            timeToLive?: number;
                        };
                        fare?: {
                            ancillaryFeeGroup?: {
                                ancillaryFees?: (...)[];
                                message?: string;
                                orderStandardBag?: { passengerBags: ... };
                            };
                            divideByParty?: boolean;
                            eTicketable?: boolean;
                            governingCarriers?: string;
                            lastTicketDate?: string;
                            lastTicketTime?: string;
                            mandatoryInd?: boolean;
                            offerItemId?: string;
                            passengerInfoList: {
                                passengerInfo?: ...;
                                passengerNotAvailableInfo?: ...;
                            }[];
                            reissue?: boolean;
                            reissueText?: string;
                            serviceId?: string;
                            simultaneousReservation?: boolean;
                            spanishFamilyDiscount?: string;
                            totalFare?: {
                                airExtrasAmount?: number;
                                baseFareAmount?: number;
                                baseFareCurrency?: string;
                                bookingFeeAmount?: number;
                                constructionAmount?: number;
                                constructionCurrency?: string;
                                creditCardFeeAmount?: number;
                                currency: string;
                                effectivePriceDeviation?: number;
                                equivalentAmount?: number;
                                equivalentCurrency?: string;
                                serviceFeeAmount?: number;
                                serviceFeeTax?: number;
                                totalPrice: number;
                                totalPriceWithAirExtras?: number;
                                totalTaxAmount: number;
                                totalTtypeObFee?: number;
                            };
                            validatingCarrierCode?: string;
                            validatingCarriers?: { ref: ... }[];
                            vita?: boolean;
                        };
                        flexibleFare?: number;
                        offer?: { offerId: string; source: string; timeToLive: number };
                        passengerGroup?: number;
                        PoSCountryCode?: string;
                        pricingSubsource?: string;
                        program?: string;
                        pseudoCityCode?: string;
                        revalidated?: boolean;
                        soldOut?: {
                            soldOutLegs?: {
                                brandCode?: ...;
                                brandDescription?: ...;
                                programCode?: ...;
                                programId?: ...;
                                programName?: ...;
                                programSystemCode?: ...;
                                ref: ...;
                                soldOutSchedules?: ...;
                                status?: ...;
                            }[];
                            status?: string;
                        };
                        tickets?: {
                            legs?: (...)[];
                            pricingInformation: { PoSCountryCode?: string; brand?: string; brandsOnAnyMarket?: boolean; cached?: { hoursSinceCreation?: number; ref: number; timeToLive?: number; }; fare?: { ancillaryFeeGroup?: { ancillaryFees?: { code: string; details?: { ...; }[]; message?: string; name: string; }[]; message?: string; orderStandardBag?: { ...; };...;
                        }[];
                    }[];
                    pricingSource: string;
                    routingItinerary?: boolean;
                    sabreConnectLite?: boolean;
                }[];
                processingMessages?: { pricingSource: string; text: string }[];
            }[]

            Itinerary group.

          • OptionallegDescs?: {
                elapsedTime?: number;
                id?: number;
                schedules: {
                    departureDateAdjustment?: number;
                    ref: number;
                    requestedStopover?: boolean;
                }[];
            }[]

            Leg ID description.

          • messages: {
                code?: string;
                numberOfOccurences?: number;
                severity?: string;
                shortCode?: string;
                text?: string;
                type?: string;
                value?: string;
            }[]

            Server Message.

          • OptionalobFeeDescs?: {
                amount: number;
                currency: string;
                description?: string;
                id: number;
                type?: string;
            }[]

            OB Fee information.

          • OptionaloriginalItineraryDesc?: {
                taxes: {
                    passengerIndex: number;
                    tax: { refundable?: boolean; taxCode: string }[];
                }[];
            }

            Summary of taxes calculated for original itinerary during Exchange transaction.

            • taxes: { passengerIndex: number; tax: { refundable?: boolean; taxCode: string }[] }[]

              Taxes information.

          • OptionalpassengerDescs?: { givenName?: string; id: number; passengerId?: string; surname?: string }[]
          • OptionalpriceClassDescriptions?: { descriptions: { id?: string; text: string }[]; id: number }[]

            List of Price Classes referenced from the NDC offers.

          • OptionalscheduleDescs?: {
                arrival: {
                    airport: string;
                    city?: string;
                    country?: string;
                    dateAdjustment?: number;
                    state?: string;
                    terminal?: string;
                    time: string;
                };
                bookingDetails?: { classOfService?: string; mealCodeList?: string };
                carrier: {
                    alliances?: string;
                    basicBookingRequest?: boolean;
                    callDirect?: boolean;
                    codeShared?: string;
                    disclosure?: string;
                    equipment?: {
                        change?: boolean;
                        code?: string;
                        typeForFirstLeg?: string;
                        typeForLastLeg?: string;
                    };
                    marketing: string;
                    marketingFlightNumber: number;
                    operating?: string;
                    operatingFlightNumber?: number;
                };
                departure: {
                    airport: string;
                    city?: string;
                    country?: string;
                    state?: string;
                    terminal?: string;
                    time: string;
                };
                dotRating?: string;
                elapsedTime?: number;
                eTicketable?: boolean;
                flightStatused?: number;
                frequency?: string;
                funnel?: boolean;
                governmentApproval?: boolean;
                hiddenStops?: {
                    airMiles?: number;
                    airport: string;
                    arrivalDateAdjustment?: number;
                    arrivalTime?: string;
                    city?: string;
                    country?: string;
                    departureDateAdjustment?: number;
                    departureTime?: string;
                    elapsedLayoverTime?: number;
                    elapsedTime?: number;
                    equipment?: string;
                    state?: string;
                }[];
                id: number;
                message?: string;
                messageType?: string;
                onTimePerformance?: number;
                smokingAllowed?: boolean;
                stopCount?: number;
                totalMilesFlown?: number;
                trafficRestriction?: string;
            }[]

            Schedule information.

          • OptionalscheduleMessages?: {
                destination: string;
                origin: string;
                pricingSource: string;
                text?: string;
                type?: string;
            }[]

            Schedule Global Message.

          • Optionalstatistics?: {
                branded?: number;
                departed?: number;
                itineraryCount?: number;
                legMissed?: number;
                oneWay?: number;
                soldOut?: number;
            }

            Response statistics.

            • Optionalbranded?: number

              Total number of Branded OneWay itineraries returned (Sum of itins in all legs combined).

              1
              
            • Optionaldeparted?: number

              Count for departed itineraries returned.

              1
              
            • OptionalitineraryCount?: number

              Number of options returned.

              1
              
            • OptionallegMissed?: number

              Count for itineraries with missing legs returned.

              1
              
            • OptionaloneWay?: number

              Total number of Simple OneWay itineraries returned (Sum of itins in all legs combined).

              1
              
            • OptionalsoldOut?: number

              Count for sold out itineraries returned.

              1
              
          • OptionaltaxDescs?: {
                amount: number;
                carrier?: string;
                code: string;
                country?: string;
                currency: string;
                description?: string;
                id: number;
                publishedAmount?: number;
                publishedCurrency?: string;
                station?: string;
                taxReissue?: {
                    maxAmount?: number;
                    maxCurrency?: string;
                    refundable?: boolean;
                    restrictionApply?: boolean;
                    taxType?: string;
                };
                taxRestrictions?: {
                    currency?: string;
                    maxAmount?: number;
                    minAmount?: number;
                    rate?: number;
                };
            }[]

            Tax information.

          • OptionaltaxSummaryDescs?: {
                amount: number;
                code: string;
                country?: string;
                currency: string;
                description?: string;
                id: number;
                publishedAmount?: number;
                publishedCurrency?: string;
                station?: string;
            }[]

            Tax summary information.

          • OptionalupaCategoryDescs?: { id: number; name: string }[]

            Universal product attribute category information.

          • OptionalupaDescs?: {
                attributeDescription?: string;
                categories?: { ref: number }[];
                ctaText?: string;
                ctaUrl?: string;
                description?: string;
                headline?: string;
                id: number;
                largeIconUrl?: string;
                photos?: { ref: number }[];
                smallIconUrl?: string;
                tour?: { ref: number };
                video?: { ref: number };
            }[]

            Universal product attribute information.

          • OptionalupaPhotoDescs?: {
                caption: string;
                id: number;
                largeUrl: string;
                mediumSquareUrl: string;
                thumbUrl: string;
                url: string;
            }[]

            Universal product attribute photo information.

          • OptionalupaTourDescs?: {
                caption: string;
                embedUrl: string;
                id: number;
                mediumSquareUrl: string;
                thumbUrl: string;
            }[]

            Universal product attribute tour information.

          • OptionalupaVideoDescs?: {
                caption: string;
                embedUrl: string;
                id: number;
                mediumSquareUrl: string;
                thumbUrl: string;
            }[]

            Universal product attribute video information.

          • OptionalutaDescs?: {
                application?: string;
                assessment: string;
                categoryId: string;
                commercialName?: string;
                descriptions: string;
                groupCode?: string;
                headline: string;
                id: number;
                largeIconUrl: string;
                smallIconUrl: string;
                subCode?: string;
            }[]

            Universal ticketing attribute information.

          • OptionalvalidatingCarrierDescs?: {
                alternates?: {
                    code?: string;
                    ietCountryWobsp?: { country?: { code: string }[] };
                }[];
                country?: string;
                default?: {
                    code?: string;
                    ietCountryWobsp?: { country?: { code: string }[] };
                };
                id: number;
                newVcxProcess?: boolean;
                otherTicketings?: {
                    code?: string;
                    ietCountryWobsp?: { country?: { code: string }[] };
                }[];
                settlementMethod?: string;
            }[]

            Validating Carrier information.

          • version: string

            Required responce Version of the service.

            V4
            
      • request: AirShoppingReq

      Returns DataLists

      Res