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://api.tektravels.com/BookingEngineService_Air/AirService.svc/rest/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
4ResultIndexNvarcharResult indexMandatory(selected result index from search response)
FARE UPSELL Response
LevelElementFormatCommentsMandatory/ Optional
1TraceIdStringTrace IdMandatory
2IsPriceChangedBooleanIs Price changedMandatory(Value - true or false)
3ResponseStatusStringResponse StatusMandatory
Successfull = 1, Failed = 2, InValidRequest = 3, InValidSession = 4, InValidCredentials = 5]
4Results
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.5AirlineRemarkStringAirline RemarkOptional
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-upMandatory
4.6.8.2Convenience ChargeDecimalConvenience ChargeMandatory
4.6.8.3OtherChargeDecimalOther ChargeMandatory
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.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.1CurrencyStringCurrencyMandatory
4.7.3PassengerCountIntegerNumber of PassengerMandatory
4.7.3PassengerTypeIntegerType of Passenger (Adult – 1, Child – 2, Infant – 3)Mandatory
4.7.4BaseFareDecimalBase fareMandatory
4.7.5TaxDecimalTotal taxMandatory
4.7.6YQTaxDecimalFuel SurchargeMandatory
4.7.7AdditionalTxnFeeOfrdDecimalAdditional Transaction Fee Offered (It will always be zero)Mandatory
4.7.8AdditionalTxnFeePubDecimalAdditional Transaction Fee PublishedMandatory
4.8Segments[]
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.1TicketAdvisoryStringTicket AdvisoryOptional
4.11FareRulesThis is the fare rules of the flight fare offere
4.11.1OriginStringOriginMandatory
4.11.2DestinationStringDestinationMandatory
4.11.3AirlineStringAirlineMandatory
4.11.4FareBasisCodeStringFare basis codeMandatory
4.11.5FareRuleDetailString ListFare rule detailsMandatory
4.11.6FareRestrictionStringFare restrictionMandatory
4.13ValidatingAirlineStringValidating airlineMandatory
4.14ErrorMandatory
4.14.1ErrorCodeIntegerCode corresponding to the ErrorMandatory
4.14.2ErrorMessageStringContains error message (Will contain error description corresponding to ErrorCode. Error Message would be blank in case ErrorCode=0)Mandatory
5PenaltyCancellation/Re-issuanceOptional
5.1ReissueChargeAmountRe-issuance ChargeOptional
5.2CancellationChargeAmountCancellationChargeOptional
6UpsellOptionsListUpsellOptionsMandatory
6.1UpsellListArrayUpsell Option ListMandatory
6.1.1FareFamilyCodeStringFareFamilyCodeMandatory
6.1.2FareFamilyNameStringFareFamilyNameMandatory
6.1.3FareRuleIndexIntegerFareRuleIndexMandatory
6.1.4FlightInfoIndexIntegerFlightInfoIndexMandatory
6.1.4PassengerTypeIntegerPassengerTypeMandatory
6.1.4ServicesListArrayList of ServicesMandatory
6.1.4.1CodeNvarcharCodeMandatory
6.1.4.2IsChargeableBooleanIsChargeableMandatory
6.1.4.3IsIncludedBooleanIsIncludedMandatory
6.1.4.4ServiceTypeStringServiceTypeMandatory
6.1.4.5SSRCodeStringSSRCodeMandatory
6.1.4.6UpsellDescriptionStringUpsellDescriptionMandatory