menu

GetBookingDetails

This method is used to retrieve booking details and booking status of an existing booking using BookingId, PNR or TraceId as the search parameter. It is typically used after a booking has been made to capture a current snapshot of the reservation. If Booking Id is received as 0 then please call GetBookingDetails using Trace id or PNR with First Name and Last Name of the lead passenger.

Service URL (REST) to be used:
http://api.tektravels.com/BookingEngineService_Air/AirService.svc/rest/GetBookingDetails

GetBookingDetails Method can be call by using multiple way, Below are the request cases to get the response.

Request 1: EndUserIp, TokenId, BookingId

Request 2: EndUserIp, TokenId, BookingId, PNR

Request 3: EndUserIp, TokenId, PNR, First Name

Request 4: EndUserIp, TokenId, PNR, Last Name

Request 5: EndUserIp, TokenId, PNR, First Name, Last Name

Request 6: EndUserIp, TokenId,TraceId

GetBookingDetails Paramenters
Level Element Format Comments Mandatory/ Optional
1 EndUserIp String IP Address of the end user Mandatory
2 TokenId String Token ID Mandatory (Token Id to be echoed back from Authenticate response)
3 BookingId Integer Unique booking id of the >successful booking Mandatory (BookingId will always be greater than 0. Either BookingId, PNR or TraceId will be required to retrieve booking details)
4 PNR String PNR Mandatory ( Either BookingId, PNR or TraceId will be required to retrieve booking details)
5 First Name String First Name of Lead Pax Mandatory
6 Last Name String Last Name of Lead Pax Mandatory
GetBookingDetails Response - LCC
Level Element Format Comments Mandatory/ Optional
1 FlightItinerary
1.1 BookingId Integer Unique booking id Mandatory
1.2 PNR String PNR no Mandatory
1.3 IsDomestic Boolean Search request is for domestic or international
1.4 Source String Airline source Mandatory
1.5 Origin String Origin Mandatory
1.6 Destination String Destination Mandatory
1.7 AirlineCode String Airline code Mandatory
1.8 ValidatingAirlineCode String Validating airline code Mandatory
1.9 AirlineRemarks String Airline remarks Optional
1.10 AirlineTollFreeNo String AirlineTollFreeNo Optional
1.11 IsLCC Boolean Is the result for LCC or Non LCC Mandatory
1.12 NonRefundable Boolean Is the fare refundable or not Mandatory
1.13 FareType String Fare type Mandatory
1.14 Fare
1.14.1 Currency String Currency Mandatory
1.14.2 BaseFare Decimal Base fare Mandatory
1.14.3 Tax Decimal Total tax Mandatory
1.14.4 YQTax Decimal Fuel surcharge Mandatory
1.14.5 AdditionalTxnFeeOfrd Decimal Additional Transaction Fee Offered (It will always be zero) Mandatory
1.14.6 AdditionalTxnFeePub Decimal Additional Transaction Fee Published Mandatory
1.14.7 OtherCharges Decimal Other charges Mandatory
1.14.8 ChargeBU[]
1.14.8.1 TBOMarkUp Decimal TBO Mark-up Mandatory
1.14.8.2 ConvenienceCharge Decimal Convenience Charge Mandatory
1.14.8.3 OtherCharge Decimal Other Charge Mandatory
1.14.9 Discount Decimal Discount Mandatory
1.14.10 PublishedFare Decimal Published fare Mandatory
1.14.11 CommissionEarned Decimal Agent commission Mandatory
1.14.12 PLBEarned Decimal Performance Linked Bonus Mandatory
1.14.13 IncentiveEarned Decimal Incentive applicable Mandatory
1.14.14 OfferedFare Decimal Offerred fare Mandatory
1.14.15 TdsOnCommission Decimal TDS on the commission Mandatory
1.14.16 TdsOnPLB Decimal TDS on Performance Linked Bonus Mandatory
1.14.17 TdsOnIncentive Decimal TDS on the incentive Mandatory
1.14.18 ServiceFee Decimal Service fee Mandatory
1.15 Passenger
1.15.1 PaxID Integer Unique pax id Mandatory
1.15.2 Title String Title Mandatory
1.15.3 FirstName String First name Mandatory
1.15.4 LastName String Last name Mandatory
1.15.5 PaxType String Pax type Mandatory
1.15.6 DateOfBirth Date Time Date of birth Mandatory
1.15.7 Gender String Gender Mandatory
1.15.8 PassportNo String Passport no Optional
1.15.9 PassportExpiry Date time Passport expiry Optional
1.15.10 AddressLine1 String Address Mandatory
1.15.11 AddressLine2 String Address Optional
1.15.12 City String City Mandatory
1.15.13 CountryCode String Country code Mandatory
1.15.14 CountryName String Country name Mandatory
1.15.15 ContactNo String Contact no Mandatory
1.15.16 Email String Email Mandatory
1.15.17 IsLeadPax Boolean Represent the lead guest of the booking Mandatory
1.15.18 FFAirlineCode String Frequent flyer airline Optional *
1.15.19 FFNumber String Frequent flyer number Optional *
1.15.20 Fare
1.15.20.1 Currency String Currency Mandatory
1.15.20.2 BaseFare Decimal Base fare Mandatory
1.15.20.3 Tax Decimal Tax Mandatory
1.15.20.4 YQTax Decimal Fuel surcharge Mandatory
1.15.20.5 AdditionalTxnFeeOfrd Decimal Additional Transaction Fee Offered (It will always be zero) Mandatory
1.15.20.6 AdditionalTxnFeePub Decimal Additional Transaction Fee Published Mandatory
1.15.20.7 OtherCharges Decimal Other charge Mandatory
1.15.20.8 ChargeBU[]
1.15.20.8.1 TBOMarkUp Decimal TBO mark-up Mandatory
1.15.20.8.2 ConvenienceCharge Decimal Convenience charge Mandatory
1.15.20.8.3 OtherCharge Decimal Other charge Mandatory
1.15.20.9 Discount Decimal Discount Mandatory
1.15.20.10 PublishedFare Decimal Published fare Mandatory
1.15.20.11 CommissionEarned Decimal Agent commission Mandatory
1.15.20.12 PLBEarned Decimal Performance linked bonus Mandatory
1.15.20.13 IncentiveEarned Decimal Incentive Mandatory
1.15.20.14 OfferedFare Decimal Offered fare Mandatory
1.15.20.15 TdsOnCommission Decimal TDS on commission Mandatory
1.15.20.16 TdsOnPLB Decimal TDS on Performance linked bonus Mandatory
1.15.20.17 TdsOnIncentive Decimal TDS on incentive Mandatory
1.15.20.18 ServiceFee Decimal Service fee Mandatory
1.15.21 Baggage
1.15.21.1 WayType Enumeration Way type Mandatory
1.15.21.2 Code String Baggage code Mandatory
1.15.21.3 Description String Baggage description Mandatory
1.15.21.4 Weight String Baggage weight Mandatory
1.15.21.5 Currency String Currency Mandatory
1.15.21.6 Price Decimal Baggage price Mandatory
1.15.21.7 Origin String Origin Mandatory
1.15.21.8 Destination String Destination Mandatory
1.15.22 MealDynamic
1.15.22.1 WayType Enumeration Way type Mandatory
1.15.22.2 Code String Meal code Mandatory
1.15.22.3 Description String Description Mandatory
1.15.22.4 AirlineDescription String Meal description Mandatory
1.15.22.5 Quantity String Meal quantity Mandatory
1.15.22.6 Price Decimal Meal price Mandatory
1.15.22.7 Currency String Currency Mandatory
1.15.22.8 Origin String Origin Mandatory
1.15.22.9 Destination String Destination Mandatory
1.15.23 Ticket
1.15.23.1 TicketId Integer Unique ticket id Mandatory
1.15.23.2 TicketNumber String Ticket number Mandatory
1.15.23.3 IssueDate Date time Ticket issue date Mandatory
1.15.23.4 ValidatingAirline String Validating airline Mandatory
1.15.23.5 Remarks String Remarks Mandatory
1.15.23.6 ServiceFeeDisplayType String Service fee display type Mandatory
1.15.23.7 Status String Ticket status Mandatory
1.15.24 SegmentAdditionalInfo
1.15.24.1 FareBasis String Fare basis Mandatory
1.15.24.2 NVA Date Time Not valid after date Mandatory
1.15.24.3 NVB Date Time Not valid before date Mandatory
1.15.24.4 Baggage String Free baggage allowance Optional
1.15.24.5 Meal String Free Meal Detail Optional
1.16 Segments
1.16.1 TripIndicator Integer Trip indicator Mandatory
1.16.2 SegmentIndicator Integer Segment indicator Mandatory
1.16.3 Airline
1.16.3.1 AirlineCode String Airline code Mandatory
1.16.3.2 AirlineName String Airline name Mandatory
1.16.3.3 FlightNumber String Flight Number Mandatory
1.16.3.4 FareClass String Fare Class Mandatory
1.16.3.5 OperatingCarrier String Operating Carrier Mandatory
1.16.4 Origin
1.16.4.1 Airport
1.16.4.1.1 AirportCode String Airport code Mandatory
1.16.4.1.2 AirportName String Airport name Optional
1.16.4.1.3 Terminal String Terminal number Optional
1.16.4.1.4 CityCode String City code Mandatory
1.16.4.1.5 CityName String City name Mandatory
1.16.4.1.6 CountryCode String Country code Mandatory
1.16.4.1.7 CountryName String Country name Mandatory
1.16.4.2 DepTime Date Time Departure time Mandatory
1.16.5 Destination
1.16.5.1 Airport
1.16.5.1.1 AirportCode String Airport code Mandatory
1.16.5.1.2 AirportName String Airport name Optional
1.16.5.1.3 Terminal String Terminal number Optional
8.16.5.1.4 CityCode String City code Mandatory
1.16.5.1.5 CityName String City name Mandatory
1.16.5.1.6 CountryCode String Country code Mandatory
1.16.5.1.7 CountryName String Country name Mandatory
1.16.5.2 ArrTime Date Time Arrival time Mandatory
1.16.6 AirlinePNR String Airline pnr Optional
1.16.7 AccumulatedDuration Time Accumulated duration Optional
1.16.8 Duration Time Duration Optional
1.16.9 GroundTime Time Ground time Optional
1.16.10 Mile String Miles Optional
1.16.11 StopOver
1.16.12 StopPoint String Stopover point Optional
1.16.13 StopPointArrivalTime Date Time Stopover arrival time Optional
1.16.14 StopPointDepartureTime Date Time Stopover departure time Optional
1.16.15 Craft String Craft Optional
1.16.16 IsETicketEligible Boolean Is E-Ticket eligible Mandatory
1.16.17 FlightStatus String Flight status Mandatory
1.16.18 Status String Flight status code Mandatory
1.17 FareRules Fare rules Mandatory
1.17.1 Origin String Origin Mandatory
1.17.2 Destination String Destination Mandatory
1.17.3 Airline String Airline Mandatory
1.17.4 FareBasisCode String Fare basis code Mandatory
1.17.5 FareRuleDetail String List Fare rule details Mandatory
1.17.6 FareRestriction String Fare restriction Mandatory
1.18 InvoiceNo String Invoice no Mandatory
1.19 InvoiceCreatedOn String Invoice created on Mandatory
1.20 TicketStatus Enumeration Ticket status Mandatory
1.21 Message String Message Optional
GetBookingDetails Response - NON-LCC
Level Element Format Comments Mandatory/ Optional
1 FlightItinerary
1.2 PNR String PNR no Mandatory
1.3 IsDomestic Boolean Search request is for domestic or international Mandatory
1.4 Source String Airline source Mandatory
1.5 Origin String Origin Mandatory
1.6 Destination String Destination Mandatory
1.7 AirlineCode String Airline code Mandatory
1.8 ValidatingAirlineCode String Validating airline code Mandatory
1.9 AirlineRemarks String Airline remarks Optional
1.10 AirlineTollFreeNo String AirlineTollFreeNo Optional
1.11 IsLCC Boolean Is the result for LCC or Non LCC Mandatory
1.12 NonRefundable Boolean Is the fare refundable or not Mandatory
1.13 FareType String Fare type Mandatory
1.14 Fare
1.14.1 Currency String Currency Mandatory
1.14.2 BaseFare Decimal Base fare Mandatory
1.14.3 Tax Decimal Total tax Mandatory
1.14.4 YQTax Decimal Fuel surcharge Mandatory
1.14.5 AdditionalTxnFeeOfrd Decimal Additional Transaction Mandatory
Fee Offered (It will always be zero)
1.14.6 AdditionalTxnFeePub Decimal Additional Transaction Mandatory
Fee Published
1.14.7 OtherCharges Decimal Other charges Mandatory
8.14.7.1 ChargeBU
1.14.7.2 TBOMarkUp Decimal TBO Mark-up Mandatory
1.14.7.3 ConvenienceCharge Decimal Convenience Charge Mandatory
1.14.8 OtherCharge Decimal Other Charge Mandatory
1.14.9 Discount Decimal Discount Mandatory
1.14.10 PublishedFare Decimal Published fare Mandatory
1.14.11 CommissionEarned Decimal Agent commission Mandatory
1.14.12 PLBEarned Decimal Performance Linked Bonus Mandatory
1.14.13 IncentiveEarned Decimal Incentive applicable Mandatory
1.14.14 OfferedFare Decimal Offerred fare Mandatory
1.14.15 TdsOnCommission Decimal TDS on the commission Mandatory
1.14.16 TdsOnPLB Decimal TDS on Performance Linked Bonus Mandatory
1.14.17 TdsOnIncentive Decimal TDS on the incentive Mandatory
1.14.18 ServiceFee Decimal Service fee Mandatory
1.15 Passenger
1.15.1 PaxID Integer Unique pax id Mandatory
1.15.2 Title String Title Mandatory
1.15.3 FirstName String First name Mandatory
1.15.4 LastName String Last name Mandatory
1.15.5 PaxType String Pax type Mandatory
1.15.6 DateOfBirth Date Time Date of birth Mandatory
1.15.7 Gender String Gender Mandatory
1.15.8 PassportNo String Passport no Optional
1.15.9 PassportExpiry Date time Passport expiry Optional
1.15.10 AddressLine1 String Address Mandatory
1.15.11 AddressLine2 String Address Optional
1.15.12 City String City Mandatory
1.15.13 CountryCode String Country code Mandatory
1.15.14 CountryName String Country name Mandatory
1.15.15 ContactNo String Contact no Mandatory
1.15.16 Email String Email Mandatory
1.15.17 IsLeadPax Boolean Represent the lead guest of the booking Mandatory
1.15.18 FFAirlineCode String Frequent flyer airline Optional
1.15.19 FFNumber String Frequent flyer number Optional
1.15.20 Fare
1.15.20.1 Currency String Currency Mandatory
1.15.20.2 BaseFare Decimal Base fare Mandatory
1.15.20.3 Tax Decimal Tax Mandatory
1.15.20.4 YQTax Decimal Fuel surcharge Mandatory
1.15.20.5 AdditionalTxnFeeOfrd Decimal Additional Transaction Fee Offered (It will always be zero) Mandatory
1.15.20.6 AdditionalTxnFeePub Decimal Additional Transaction Fee Published Mandatory
1.15.20.7 OtherCharges Decimal Other charge Mandatory
1.15.20.8 ChargeBU[]
1.15.20.8.1 TBOMarkUp Decimal TBO mark-up Mandatory
1.15.20.8.2 ConvenienceCharge Decimal Convenience charge Mandatory
1.15.20.8.3 OtherCharge Decimal Other charge Mandatory
1.15.20.9 Discount Decimal Discount Mandatory
1.15.20.10 PublishedFare Decimal Published fare Mandatory
1.15.20.11 CommissionEarned Decimal Agent commission Mandatory
1.15.20.12 PLBEarned Decimal Performance linked bonus Mandatory
1.15.20.13 IncentiveEarned Decimal Incentive Mandatory
1.15.20.14 OfferedFare Decimal Offered fare Mandatory
1.15.20.15 TdsOnCommission Decimal TDS on commission Mandatory
1.15.20.16 TdsOnPLB Decimal TDS on Performance linked bonus Mandatory
1.15.20.17 TdsOnIncentive Decimal TDS on incentive Mandatory
1.15.20.18 ServiceFee Decimal Service fee Mandatory
1.15.21 SeatPreference
1.15.21.1 Code String Seat code Optional
1.15.21.3 Description String Seat description Optional
1.15.22 Meal
1.15.22.1 Code String Meal code Optional
1.15.22.1 Description String Meal description Optional
1.15.23 Ticket
1.15.23.1 TicketId Integer Unique ticket id Mandatory
1.15.23.2 TicketNumber String Ticket number Mandatory
1.15.23.3 IssueDate Date time Ticket issue date Mandatory
1.15.23.4 ValidatingAirline String Validating airline Mandatory
1.15.23.5 Remarks String Remarks Mandatory
1.15.23.6 ServiceFeeDisplayType String Service fee display type Mandatory
1.15.23.7 Status String Ticket status Mandatory
1.15.24 SegmentAdditionalInfo
1.15.24.1 FareBasis String Fare basis Mandatory
1.15.24.2 NVA Date Time Not valid after date Mandatory
1.15.24.3 NVB Date Time Not valid before date Mandatory
1.15.24.4 Baggage String Free baggage allowance Optional
1.15.24.5 Meal String Free Meal Detail Optional
1.16 Segments
1.16.1 TripIndicator Integer Trip indicator Mandatory
1.16.2 SegmentIndicator Integer Segment indicator Mandatory
1.16.3 Airline
1.16.3.1 AirlineCode String Airline code Mandatory
1.16.3.2 AirlineName String Airline name Mandatory
1.16.3.3 FlightNumber String Flight Number Mandatory
1.16.3.4 FareClass String Fare Class Mandatory
1.16.3.5 OperatingCarrier String Operating Carrier Mandatory
1.16.4 Origin
1.16.4.1 Airport
1.16.4.1.1 AirportCode String Airport code Mandatory
1.16.4.1.2 AirportName String Airport name Optional
1.16.4.1.3 Terminal String Terminal number Optional
1.16.4.1.4 CityCode String City code Mandatory
1.16.4.1.5 CityName String City name Mandatory
1.16.4.1.6 CountryCode String Country code Mandatory
1.16.4.1.7 CountryName String Country name Mandatory
1.16.4.2 DepTime Date Time Departure time Mandatory
1.16.5 Destination
1.16.5.1 Airport
1.16.5.1.1 AirportCode String Airport code Mandatory
1.16.5.1.2 AirportName String Airport name Optional
1.16.5.1.3 Terminal String Terminal number Optional
1.16.5.1.4 CityCode String City code Mandatory
1.16.5.1.5 CityName String City name Mandatory
1.16.5.1.6 CountryCode String Country code Mandatory
1.16.5.1.7 CountryName String Country name Mandatory
1.16.5.2 ArrTime Date Time Arrival time Mandatory
1.16.6 AirlinePNR String Airline pnr Optional
1.16.7 AccumulatedDuration Time Accumulated duration Optional
1.16.8 Duration Time Duration Optional
1.16.9 GroundTime Time Ground time Optional
1.16.10 Mile String Miles Optional
1.16.11 StopOver
1.16.12 StopPoint String Stopover point Optional
1.16.13 StopPointArrivalTime Date Time Stopover arrival time Optional
1.16.14 StopPointDepartureTime Date Time Stopover departure time Optional
1.16.15 Craft String Craft Optional
1.16.16 IsETicketEligible Boolean Is E-Ticket eligible Mandatory
1.16.17 FlightStatus String Flight status Mandatory
1.16.18 Status String Flight status code Mandatory
1.17 FareRules Fare rules Mandatory
1.17.1 Origin String Origin Mandatory
1.17.2 Destination String Destination Mandatory
1.17.3 Airline String Airline Mandatory
1.17.4 FareBasisCode String Fare basis code Mandatory
1.17.5 FareRuleDetail String List Fare rule details Mandatory
1.17.6 FareRestriction String Fare restriction Mandatory
1.18 InvoiceNo String Invoice no Mandatory
1.19 InvoiceCreatedOn String Invoice created on Mandatory
1.20 Status Enumeration Ticket status Mandatory
1.21 Message String Message Optional
2 Penalty Cancellation/Re-issuance Optional
2.1 ReissueCharge Amount Re-issuance Charge Optional
2.2 CancellationCharge Amount CancellationCharge Optional