menu

FARE UPSELL

Upsell are basically bundled fares which are provided with some add ons like seat, free cancellation, re-issuance less charges etc provided from airline side. This method needs to be called separately after search method and you will get the updated fares and add ons in “UpsellOptionsList". Same result index need to pass in fare quote and next subsequent methods (Book, Ticket and GetBookingDetails) to create booking with upsell fares.

Service URL (REST) to be used:
http://apiv11.tektravels.com/extapi/v1/FareUpsell

FARE UPSELL Request
LevelElementFormatCommentsMandatory/ Optional
1EndUserIpStringIP Address of the end userMandatory
2TokenIdStringToken Id (Token Id to be echoed back from Authenticate response)Mandatory
3TraceIdStringTrace Id (Trace Id to be echoed back from search response. This can be used to trace particular search/ book at TBO’s end)Mandatory
4ResultIndexes[]String ArrayArray of result indexes selected from search responseMandatory
FARE UPSELL Response
LevelElementFormatCommentsMandatory/ Optional
1ResponseStatusIntegerResponse Status (Successfull = 1, Failed = 2, InValidRequest = 3, InValidSession = 4, InValidCredentials = 5)Mandatory
2ErrorMandatory
2.1ErrorCodeIntegerCode corresponding to the ErrorMandatory
2.2ErrorMessageStringContains error message (blank when ErrorCode=0)Mandatory
3TraceIdStringTrace IdMandatory
4Results[]Array of upsell result optionsMandatory
4.0.1IsExclusiveFareBooleanIndicates if the fare is exclusiveOptional
4.0.2IsFreeMealAvailableBooleanIndicates if free meal is availableOptional
4.0.3IsUpsellAllowedBooleanIndicates if fare upsell is allowedOptional
4.0.4NonStopFirstRankingIntegerNon-stop first ranking valueOptional
4.0.5SmartChoiceRankingIntegerSmart choice ranking valueOptional
4.1ResultIndexNvarcharResult IndexMandatory
4.2SourceStringAirline SourceMandatory
4.3IsLCCBooleanIs the result for LCC or Non LCC(Value – True or False)Mandatory
4.4IsRefundableBooleanIs the fare refundable or not (Value – True or False)Mandatory
4.4.1IsCouponAppilcableBooleanIndicates if coupon is applicableOptional
4.5AirlineRemarkStringAirline RemarkOptional
4.5.1ResultFareTypeStringFare type (e.g. RegularFare)Optional
4.6FareFare of search result
4.6.1CurrencyStringCurrencyMandatory
4.6.2BaseFareDecimalBase fareMandatory
4.6.4YQTaxDecimalFuel surchargeMandatory
4.6.5AdditionalTxnFeeOfrdDecimalAdditional Transaction Fee Offered (It will always be zero)Mandatory
4.6.6AdditionalTxn FeePubDecimalAdditional Transaction Fee PublishedMandatory
4.6.7OtherChargesDecimalSome additional charge by airline/ airport.Mandatory
4.6.8ChargeBU[]It will contain different charge breakup that is service charge or Credit card charge. For details please refer ChargeBreakUp structureMandatory
4.6.8.1TBOMarkUpDecimalTBO Mark-up (TBOMARKUP)Mandatory
4.6.8.2GlobalProcurementChargeDecimalGlobal procurement charge (GLOBALPROCUREMENTCHARGE)Optional
4.6.8.3ConvenienceChargeDecimalConvenience Charge (CONVENIENCECHARGE)Mandatory
4.6.8.4OtherChargeDecimalOther Charge (OTHERCHARGE)Mandatory
4.6.9DiscountDecimalDiscountMandatory
4.6.10PublishedFareDecimalPublished FareMandatory
4.6.11CommissionEarnedDecimalAgent CommissionMandatory
4.6.12PLBEarnedDecimalPerformance Linked BonusMandatory
4.6.13IncentiveEarnedDecimalIncentive earnedMandatory
4.6.14OfferedFareDecimalOffered FareMandatory
4.6.15TdsOnCommissionDecimalTDS on the commissionMandatory
4.6.16TdsOnPLBDecimalTDS on Performance Linked BonusMandatory
4.6.17TdsOnIncentiveDecimalTDS on the incentive earnedMandatory
4.6.18ServiceFeeDecimalService FeeMandatory
4.6.19TaxBreakup[]Tax breakup key-value listOptional
4.6.20PGChargeDecimalPayment gateway chargeOptional
4.6.21TotalBaggageChargesDecimalTotal baggage chargesOptional
4.6.22TotalMealChargesDecimalTotal meal chargesOptional
4.6.23TotalSeatChargesDecimalTotal seat chargesOptional
4.6.24TotalSpecialServiceChargesDecimalTotal special service chargesOptional
4.6.25GSTGST breakup detailsOptional
4.6.25.1CGSTAmountDecimalCGST amountOptional
4.6.25.2CGSTRateDecimalCGST rateOptional
4.6.25.3CessAmountDecimalCess amountOptional
4.6.25.4CessRateDecimalCess rateOptional
4.6.25.5IGSTAmountDecimalIGST amountOptional
4.6.25.6IGSTRateDecimalIGST rateOptional
4.6.25.7SGSTAmountDecimalSGST amountOptional
4.6.25.8SGSTRateDecimalSGST rateOptional
4.6.25.9TaxableAmountDecimalTaxable amountOptional
4.6.26ServiceFeeDisplayTypeIntegerService fee display typeOptional
4.6.27CFARAmountDecimalCFAR amountOptional
4.6.28DCFARAmountDecimalDCFAR amountOptional
4.7FareBreakdown[]Details of fare breakup into several part. It give fare of Each Passenger Type.divide the base fare and tax from this array with the passanger count and then pass that fare in the ticket or book request
4.7.1SegmentDetails[]Segment-wise baggage detailsOptional
4.7.1.1FlightInfoIndexStringFlight info indexOptional
4.7.1.2CabinBaggageCabin baggage (Value/Unit or NoOfPiece)Optional
4.7.1.3CheckedInBaggageChecked-in baggage (Value/Unit)Optional
4.7.2CurrencyStringCurrencyMandatory
4.7.3PassengerCountIntegerNumber of PassengerMandatory
4.7.4PassengerTypeIntegerType of Passenger (Adult – 1, Child – 2, Infant – 3)Mandatory
4.7.5BaseFareDecimalBase fareMandatory
4.7.6TaxDecimalTotal taxMandatory
4.7.7YQTaxDecimalFuel SurchargeMandatory
4.7.8TransactionFeeDecimalTransaction feeOptional
4.7.9TaxBreakUp[]Tax breakup for particular pax typeOptional
4.7.10AdditionalTxnFeeOfrdDecimalAdditional Transaction Fee Offered (It will always be zero)Mandatory
4.7.11AdditionalTxnFeePubDecimalAdditional Transaction Fee PublishedMandatory
4.7.12PGChargeDecimalPayment gateway chargeOptional
4.7.13SupplierReissueChargesDecimalSupplier reissue chargesOptional
4.7.14CFARAmountDecimalCFAR amountOptional
4.7.15DCFARAmountDecimalDCFAR amountOptional
4.8Segments[]
4.8.0.1BaggageStringChecked-in baggage allowanceOptional
4.8.0.2CabinBaggageStringCabin baggage allowanceOptional
4.8.0.3CabinClassIntegerCabin classOptional
4.8.0.4SupplierFareClassStringSupplier fare class (e.g. ECO VALUE)Optional
4.8.0.5NoOfSeatAvailableIntegerNumber of seats availableOptional
4.8.0.6FlightInfoIndexStringFlight info indexOptional
4.8.1TripIndicatorIntegerTrip IndicatorMandatory
4.8.2SegmentIndicatorIntegerSegment IndicatorMandatory
4.8.3Airline
4.8.3.1AirlineCodeStringAirline codeMandatory
4.8.3.2AirlineNameStringAirline nameMandatory
4.8.3.3FlightNumberStringFlight NumberMandatory
4.8.3.4FareClassStringFare ClassMandatory
4.8.3.5OperatingCarrierStringOperating CarrierMandatory
4.8.4Origin
4.8.4.1Airport
4.8.4.1.1AirportCodeStringAirport codeMandatory
4.8.4.1.2AirportNameStringAirport nameOptional
4.8.4.1.3TerminalStringTerminal numberOptional
4.8.4.1.4CityCodeStringCity codeMandatory
4.8.4.1.5CityNameStringCity nameMandatory
4.8.4.1.6CountryCodeStringCountry codeMandatory
4.8.4.1.7CountryNameStringCountry nameMandatory
4.8.5DepTimeDate TimeDeparture timeMandatory
4.8.6Destination
4.8.6.1Airport
4.8.6.1.2AirportNameStringAirport nameOptional
4.8.6.1.3TerminalStringTerminal numberOptional
4.8.6.1.4CityCodeStringCity codeMandatory
4.8.6.1.5CityNameStringCity nameMandatory
4.8.6.1.6CountryCodeStringCountry codeMandatory
4.8.6.1.7CountryNameStringCountry nameMandatory
4.8.7ArrTimeDate TimeArrival timeMandatory
4.8.8DurationTimeDurationOptional
4.8.9GroundTimeTimeGround timeOptional
4.8.10MileStringMilesOptional
4.8.11StopOver
4.8.12StopPointStringStopover pointOptional
4.8.13StopPointArrivalTimeDate TimeStopover arrival timeOptional
4.8.14StopPointDepartureTimeDate TimeStopover departure timeOptional
4.8.15CraftStringCraftOptional
4.8.16IsETicketEligibleBoolean (Value – true or false)Is E-Ticket eligibleMandatory
4.8.17FlightStatusStringFlight statusMandatory
4.8.18StatusStringStatusMandatory
4.9LastTicketDateDate TimeLast ticket dateMandatory
4.10TicketAdvisoryStringTicket AdvisoryOptional
4.11FareRules[]Fare rules of the flight fare offeredOptional
4.11.1OriginStringOriginMandatory
4.11.2DestinationStringDestinationMandatory
4.11.3AirlineStringAirlineMandatory
4.11.4FareBasisCodeStringFare basis codeMandatory
4.11.5FareRuleDetailStringFare rule detailsMandatory
4.11.6FareRestrictionStringFare restrictionOptional
4.11.7FareFamilyCodeStringFare family codeOptional
4.11.8FareRuleIndexStringFare rule indexOptional
4.12AirlineCodeStringAirline codeOptional
4.13ValidatingAirlineStringValidating airlineMandatory
4.14FareClassificationFare classification detailsOptional
4.14.1ColorStringFare classification colorOptional
4.14.2TypeStringFare classification type (e.g. OffShore)Optional
4.15IsPromoCodeMandatoryBooleanIndicates if promo code is mandatoryOptional
4.16Inclusions[]Included services for the fareOptional
4.16.1CurrencyStringCurrencyOptional
4.16.2FreeTextStringInclusion descriptionOptional
4.16.3IsPaidBooleanIndicates if inclusion is paidOptional
4.16.4KeyStringInclusion key (e.g. Seat)Optional
4.16.5PriceDecimalInclusion priceOptional
4.17UpsellOptionsListUpsell optionsOptional
4.17.1UpsellList[]ArrayUpsell option listMandatory
4.17.1.1FareFamilyCodeStringFareFamilyCodeMandatory
4.17.1.2FareFamilyNameStringFareFamilyNameMandatory
4.17.1.3FareRuleIndexStringFareRuleIndexMandatory
4.17.1.4FlightInfoIndexStringFlightInfoIndexMandatory
4.17.1.5PassengerTypeIntegerPassengerTypeMandatory
4.17.1.6ServicesList[]ArrayList of ServicesMandatory
4.17.1.6.1CodeNvarcharCodeMandatory
4.17.1.6.2IsChargeableStringIsChargeable (Yes/No)Mandatory
4.17.1.6.3IsIncludedStringIsIncluded (Yes/No)Mandatory
4.17.1.6.4ServiceTypeStringServiceTypeMandatory
4.17.1.6.5SSRCodeStringSSRCodeMandatory
4.17.1.6.6UpsellDescriptionStringUpsellDescriptionMandatory
5ResultCountIntegerTotal number of results returnedMandatory