menu

FARE QUOTE

This method is required to re-price the selected itinerary. This method is also accessed to sell/ hold seats for LCC airlines. This is required to make sure that we have the updated price including tax because in some cases, the fare provided at the time of search may change.

Please consider below calculations for AIR:

Published Fare : BaseFare + Tax + OtherCharges + ServiceFee + AdditionalTxnFeepub + AirlineTransFee

7054 = 3596+2966+492+0+0+0

Offered Fare : Published Fare - (CommissionEarned + IncentiveEarned + PLBEarned + AdditionalTxnFeePub)

6822.12 = 7054 - (85 + 88 + 0 + 0)

Net Payable (Invoice Amount) : Published Fare – (CommissionEarned + IncentiveEarned + PLBEarned + AdditionalTxnFeePub) + (TdsOnCommission + TdsOnIncentive + TdsOnPLB) + GST(IGSTAmount+CGSTAmount+SGSTAmount+CessAmount)

6,914.02 = 7054 - (85+59.7+88.03+0) + (33.66 +23.88+35.21) + ( GST not applicable in this case)

Service URL (REST) to be used:
http://api.tektravels.com/BookingEngineService_Air/AirService.svc/rest/FareQuote
Fare Quote New Sample File:
Download FareQuote Requestresponse
Fare Quote Request
Level Element Format Comments Mandatory/ Optional
1 EndUserIp String IP Address of the end user Mandatory
2 TokenId String Token Id (Token Id to be echoed back from Authenticate response) Mandatory
3 TraceId String Trace Id (Trace Id to be echoed back from search response. This can be used to trace particular search/ book at TBO’s end) Mandatory
4 ResultIndex Integer Result index(selected result index from search response) Mandatory
Fare Quote Response
>
Level Element Format Comments Mandatory/ Optional
1 TraceId String Trace Id Mandatory
2 IsPriceChanged Boolean Is Price changed (Value - true or false) Mandatory
3 ResponseStatus String Response Status [NotSet = 0, Successfull = 1, Failed = 2, InValidRequest = 3, InValidSession = 4,InValidCredentials = 5] Mandatory
4 Results
4.1 ResultIndex String Result Index Mandatory
4.2 Source String Airline Source Mandatory
4.3 IsLCC Boolean Is the result for LCC or Non LCC (Value – True or False) Mandatory
4.4 IsRefundable Boolean Is the fare refundable or not (Value – True or False) Mandatory
4.5 AirlineRemark String Airline Remark Optional
4.6 Fare Fare of search result
4.6.1 Currency String Currency Mandatory
4.6.2 BaseFare Decimal Base fare Mandatory
4.6.4 YQTax Decimal Fuel surcharge Mandatory
4.6.5 AdditionalTxnFeeOfrd Decimal Additional Transaction Fee Offered (It will always be zero) Mandatory
4.6.6 AdditionalTxnFeePub Decimal Additional Transaction Fee Published Mandatory
4.6.7 OtherCharges Decimal Some additional charge by airline/ airport. Mandatory
4.6.8 ChargeBU[] It will contain different charge breakup that is service charge or Credit card charge. For details please refer ChargeBraekUp structure Mandatory
4.6.8.1 TBOMarkUp Decimal TBO Mark-up Mandatory
4.6.8.2 ConvenienceCharge Decimal Convenience Charge Mandatory
4.6.8.3 OtherCharge Decimal Other Charge Mandatory
4.6.9 Discount Decimal Discount Mandatory
4.6.10 PublishedFare Decimal Published Fare Mandatory
4.6.11 Commission Earned Decimal Agent Commission Mandatory
4.6.12 PLBEarned Decimal Performance Linked Bonus Mandatory
4.6.13 IncentiveEarned Decimal Incentive earned Mandatory
4.6.14 OfferedFare Decimal Offered Fare Mandatory
4.6.15 TdsOnCommission Decimal TDS on the commission Mandatory
4.6.16 TdsOnPLB Decimal TDS on PerformanceLinked Bonus Mandatory
4.6.17 TdsOnIncentive Decimal TDS on the incentive earned Mandatory
4.6.18 ServiceFee Decimal Service Fee Mandatory
4.7 FareBreakdown[] Details of fare breakup into divide the base fare and tax from this array with the passanger count several part. It give fare of and then pass that fare in the ticket or book request Each Passenger Type.
4.7.1 Currency String Currency Mandatory
4.7.3 PassengerCount Integer Number of Passenger Mandatory
4.7.3 PassengerType Integer Type of Passenger Adult – 1 Child – 2 Infant – 3 Mandatory
4.7.4 BaseFare Decimal Base fare Mandatory
4.7.5 Tax Decimal Total tax Mandatory
4.7.6 YQTax Decimal Fuel Surcharge Mandatory
4.7.7 AdditionalTxnFeeOfrd Decimal Additional Transaction Fee Offered (It will always be zero) Mandatory
4.7.8 AdditionalTxnFeePub Decimal Additional Transaction Fee Published Mandatory
4.8 Segments[]
4.8.1 TripIndicator Integer Trip Indicator Mandatory
4.8.2 SegmentIndicator Integer Segment Indicator Mandatory
4.8.3 Airline
4.8.3.1 AirlineCode String Airline code Mandatory
4.8.3.2 AirlineName String Airline name Mandatory
4.8.3.3 FlightNumber String Flight Number Mandatory
4.8.3.4 FareClass String Fare Class Mandatory
4.8.3.5 OperatingCarrier String Operating Carrier Mandatory
4.8.4 Origin
4.8.4.1 Airport
4.8.4.1.1 AirportCode String Airport code Mandatory
4.8.4.1.2 AirportName String Airport name Optional
4.8.4.1.3 Terminal String Terminal number Optional
4.8.4.1.4 CityCode String City code Mandatory
4.8.4.1.5 CityName String City name Mandatory
4.8.4.1.6 CountryCode String Country code Mandatory
4.8.4.1.7 CountryName String Country name Mandatory
4.8.5 DepTime Date Time Departure time Mandatory
4.8.6 Destination
4.8.6.1 Airport
4.8.6.1.2 AirportName String Airport name Optional
4.8.6.1.3 Terminal String Terminal number Optional
4.8.6.1.4 CityCode String City code Mandatory
4.8.6.1.5 CityName String City name Mandatory
4.8.6.1.6 CountryCode String Country code Mandatory
4.8.6.1.7 CountryName String Country name Mandatory
4.8.7 ArrTime Date Time Arrival time Mandatory
4.8.8 Duration Time Duration Optional
4.8.9 GroundTime Time Ground time Optional
4.8.10 Mile String Miles Optional
4.8.11 StopOver
4.8.12 StopPoint String Stopover point Optional
4.8.13 StopPointArrivalTime Date Time Stopover arrival time Optional
4.8.14 StopPointDepartureTime Date Time Stopover departure time Optional
4.8.15 Craft String Craft Optional
4.8.16 IsETicketEligible Boolean Value – true or false Mandatory
4.8.17 FlightStatus String Flight status Mandatory
4.8.18 Status String Status Mandatory
4.9 LastTicketDate Date Time Last ticket date Mandatory
4.1 TicketAdvisory String Ticket Advisory Optional
4.11 FareRules This is the fare rules of the flight fare offered
4.11.1 Origin String Origin Mandatory
4.11.2 Destination String Destination Mandatory
4.11.3 Airline String Airline Mandatory
4.11.4 FareBasisCode String Fare basis code Mandatory
4.11.5 FareRuleDetail String List Fare rule details Mandatory
4.11.6 FareRestriction String Fare restriction Mandatory
4.13 ValidatingAirline String Validating airline Mandatory
4.14 Error Mandatory
4.14.1 ErrorCode Integer Code corresponding to the Error Mandatory
4.14.2 ErrorMessage String Contains error message (Will contain error description corresponding to ErrorCode. Error Message would be blank in case ErrorCode=0) Mandatory
5 Penalty Cancellation/Re-issuance Optional
5.1 ReissueCharge Amount Re-issuance Charge Optional
5.2 CancellationCharge Amount CancellationCharge Optional