TICKET LCC

This method is to be called to generate ticket for LCC. Price verification is done before creating a booking/ ticket and PNR No. is returned in case of a successful booking. In case of Price change or Time change, you will get new fare and/or new time in Book response with IsPriceChanged node and/or IsTimeChanged node set as ‘true’. The price comparison is to be made at the client’s end, and Book request needs to be sent again with the updated fare and/ or updated time

Service URL (REST) to be used:
https://flight.srdvtest.com/v8/rest/TicketLCC
Ticket LCC Request
Level Element Format Comments Mandatory
1 EndUserIp String IP Address of the End User Mandatory
2 ClientId String Client ID provided to the agency at registration Mandatory
3 UserName String Username provided to the agency at registration Mandatory
4 Password String Password provided to the agency at registration Mandatory
5 SrdvType String Simple result data version Mandatory
6 TraceId String Trace Id Mandatory
7 SrdvIndex String Simple result data version index Mandatory
8 ResultIndex String Result Index Mandatory
9 Passengers[] Array Passengers Mandatory
9.1 Title String Title Adult - Mr/Mrs/Ms , Child - Miss/Mstr , Infant - Miss/Mstr Mandatory
9.2 FirstName String First Name Mandatory
9.3 LastName String LastName Mandatory
9.4 PaxType Integer Pax Type (1 - Adult, 2 - Child,3 - Infant) Mandatory
9.5 DateOfBirth Date Time Date of Birth :Required for Adults (Air Asia only) and Children/Infants (all airlines). Format: YYYY-MM-DD. Optional
9.6 Gender String Gender (1 – Male, 2 – Female) Mandatory
9.7 PassportNo String Passport No Optional
9.8 PassportExpiry Date Time Passport expiry Optional
9.9 PassportIssueDate Date Passport Issue Date Optional
9.10 PassportIssueCountryCode String Passport Issue Country Code, (ISO 3166-1 alpha-2 (2-letter code)) Example: India → IN Optional
9.11 AddressLine1 String Address (Max of 32 characters) Mandatory
9.12 City String City Mandatory
9.13 CountryCode String Passport Issue Country Code, (ISO 3166-1 alpha-2 (2-letter code)) Example: India → IN Mandatory
9.14 CountryName String Country Name Mandatory
9.15 CellCountryCode String Cell Country Code (India +91, US +1, UK +44) Mandatory
9.16 ContactNo String Contact No Mandatory
9.17 Email String Email Mandatory
9.18 IsLeadPax Boolean Represent the lead guest of the booking (Value - true / false) Mandatory
9.19 DocumentType String For special fares (Student, Armed Forces, etc.), valid ID may be required, such as Aadhaar, Voter ID, Driving License, Passport, PAN, Student ID, or Military ID. Ensure at least one document is available Optional
9.20 DocumentId String For special fares such as Student Fare, Armed Forces Fare, etc., the documents will be required as valid identification: Example: "Eky12LKH" Optional
9.21 Fare[] Array Fare Mandatory
9.21.1 BaseFare Decimal Base fare Mandatory
9.21.2 Tax Decimal Tax Mandatory
9.21.3 TransactionFee Decimal Transaction Fee Mandatory
9.21.4 YQTax Decimal Fuel surcharge Mandatory
9.21.5 AdditionalTxnFeeOfrd Decimal Additional Transaction Fee Offered (It will always be zero) Mandatory
9.21.6 AdditionalTxnFeePub Decimal Additional Transaction Fee Offered Mandatory
9.21.7 AirTransFee Decimal Air trans fee Mandatory
9.22 Baggage[] Array if this parameter is selected, then certain sub-parameters become mandatory. Otherwise, the "Baggage" parameter remains an empty array. Mandatory
9.22.1 WayType Integer Way Type [Segment = 1,FullJourney = 2] Mandatory
9.22.2 Description String Description Mandatory
9.22.3 Weight String Baggage weight Mandatory
9.22.4 Currency String Currency Mandatory
9.22.5 Price Decimal Baggage price Mandatory
9.22.6 Origin String Origin Mandatory
9.22.7 Destination String Destination Mandatory
9.23 MealDynamic[] Array if this parameter is selected, then certain sub-parameters become mandatory. Otherwise, the "MealDynamic" parameter remains an empty array. Mandatory
9.23.1 WayType Integer Way Type - [Segment = 1, FullJourney = 2] Mandatory
9.23.2 Description String Description Mandatory
9.23.3 AirlineDescription String Airline Description Mandatory
9.23.4 Quantity String Meal Quantity Mandatory
9.23.5 Currency String Currency Mandatory
9.23.6 Price Decimal Meal Price Mandatory
9.23.7 Origin String Origin Code (Ex- DEL) Mandatory
9.23.8 Destination String Destination Code (Ex- BOM) Mandatory
9.24 Seat[] Array Seat Mandatory
9.24.1 AirlineCode String Airline Code Mandatory
9.24.2 AirlineNumber String Airline Number/ Flight Number Mandatory
9.24.3 SeatNumber String Seat Number Mandatory
9.24.4 IsBooked Boolean is already booked for a seat or not. Mandatory
9.24.5 IsLegroom Boolean Leg Space (attribute will present only if available) Mandatory
9.24.6 IsAisle Boolean Aisle seat Mandatory
9.24.7 Amount Double Seat Chargeable amount. Mandatory
9.24.8 Code String Seat Code Mandatory
9.24.9 Origin String Origin Code (Ex- DEL) Mandatory
9.24.10 Destination String Destination Code (Ex- BLR) Mandatory
9.25 GSTCompanyAddress String Mandaory in case of IsGSTMandatory is TRUE in FareQuote response otherwise Optional Mandatory
9.26 GSTCompanyContactNumber String Mandaory in case of IsGSTMandatory is TRUE in FareQuote response otherwise Optional Mandatory
9.27 GSTCompanyName String Mandaory in case of IsGSTMandatory is TRUE in FareQuote response otherwise Optional Mandatory
9.28 GSTNumber String Mandaory in case of IsGSTMandatory is TRUE in FareQuote response otherwise Optional Mandatory
9.29 GSTCompanyEmail String Mandaory in case of IsGSTMandatory is TRUE in FareQuote response otherwise Optional Mandatory
Ticket LCC Response
Level Element Format Comments Mandatory
1 Error{} Object Error Mandatory
1.1 ErrorCode String ErrorCode Mandatory
1.2 ErrorMessage String Error Message Mandatory
2 TraceId String Trace ID Mandatory
3 SrdvType String Simple result data version Mandatory
4 Response[] Array Array of the response Mandatory
4.1 SrdvIndex String Airline Code SrdvIndex
4.2 PNR String PNR Number Mandatory
4.3 BookingId Integer Unique Booking ID Mandatory
4.4 SSRDenied String SSR Denied Mandatory
4.5 SSRMessage String SSR Message Mandatory
4.6 Status String Status (true/false): Indicates whether the ticket request was received; not useful for normal integrations—use TicketStatus instead. Mandatory
4.7 IsPriceChanged Boolean Represents whether price has changed or not Mandatory
4.8 IsTimeChanged Boolean Represents whether time has changed or not Mandatory
4.9 TicketStatus String 0 = Failed, 1 = Successful, 2 = NotSaved, 3 = NotCreated, 4 = NotAllowed, 5 = InProgress, 6 = TicketAlreadyCreated, 8 = PriceChanged, 9 = OtherError Mandatory
4.10 FlightItinerary Object Contains complete flight journey details. Mandatory
4.10.1 BookingId Integer Airline Code Mandatory
4.10.2 IsManual Boolean IsManual Mandatory
4.10.3 PNR String PNR Mandatory
4.10.4 IsDomestic String IsDomestic Mandatory
4.10.5 Source String Source Mandatory
4.10.6 Origin String Origin Mandatory
4.10.7 Destination String Destination Mandatory
4.10.8 AirlineCode String AirlineCode Mandatory
4.10.9 LastTicketDate String LastTicketDate Mandatory
4.10.10 ValidatingAirlineCode String ValidatingAirlineCode Mandatory
4.10.11 AirlineRemark Array AirlineRemark Mandatory
4.10.12 IsLCC Boolean IsLCC Mandatory
4.10.13 NonRefundable Boolean true/false Mandatory
4.10.14 FareType String FareType Mandatory
4.10.15 CreditNoteNo String CreditNoteNo Mandatory
4.10.16 CreditNoteCreatedOn String CreditNoteCreatedOn Mandatory
4.10.17 Fare Object Destination Mandatory
4.10.17.1 Currency String Currency Mandatory
4.10.17.2 BaseFare Decimal BaseFare Mandatory
4.10.17.3 Tax Decimal Tax Mandatory
4.10.17.4 YQTax String Decimal YQTax
4.10.17.5 AdditionalTxnFeeOfrd Decimal AdditionalTxnFeeOfrd Mandatory
4.10.17.6 AdditionalTxnFeePub Decimal AdditionalTxnFeePub Mandatory
4.10.17.7 PGCharge Decimal PGCharge Mandatory
4.10.17.8 OtherCharges Decimal OtherCharges Mandatory
4.10.17.9 PublishedFare Decimal PublishedFare Mandatory
4.10.17.10 OfferedFare Decimal OfferedFare Mandatory
4.10.17.11 CommissionEarned Decimal CommissionEarned Mandatory
4.10.17.12 TdsOnCommission Decimal TdsOnCommission Mandatory
4.10.17.13 ServiceFee Decimal ServiceFee Mandatory
4.10.17.14 TotalBaggageCharges Decimal TotalBaggageCharges Mandatory
4.10.17.15 TotalMealCharges Decimal TotalMealCharges Mandatory
4.10.17.16 TotalSeatCharges Decimal TotalSeatCharges Mandatory
4.10.17.17 TotalSpecialServiceCharges Decimal TotalSpecialServiceCharges Mandatory
4.10.18 Passenger[] Array Passenger List Mandatory
4.10.18.1 PaxId String PaxId Mandatory
4.10.18.2 Title String Title Mandatory
4.10.18.3 FirstName String FirstName Mandatory
4.10.18.4 LastName String LastName Mandatory
4.10.18.5 PaxType String PaxType Mandatory
4.10.18.6 DateOfBirth Date DateOfBirth Mandatory
4.10.18.7 Gender String Gender Mandatory
4.10.18.8 PassportNo String PassportNo Mandatory
4.10.18.9 AddressLine1 String AddressLine1 Mandatory
4.10.18.10 City String City Mandatory
4.10.18.11 CountryCode String CountryCode Mandatory
4.10.18.12 CountryName String CountryName Mandatory
4.10.18.13 Nationality String Nationality Mandatory
4.10.18.14 ContactNo String ContactNo Mandatory
4.10.18.15 ContactNo String ContactNo Mandatory
4.10.18.16 Email String Email Mandatory
4.10.18.17 IsLeadPax String IsLeadPax Mandatory
4.10.18.18 FFAirlineCode String FFAirlineCode Mandatory
4.10.18.19 FFNumber String FFNumber Mandatory
4.10.18.20 Fare Object Destination Mandatory
4.10.18.20.1 Currency String Currency Mandatory
4.10.18.20.2 BaseFare Decimal BaseFare Mandatory
4.10.18.20.3 Tax Decimal Tax Mandatory
4.10.18.20.4 YQTax String Decimal YQTax
4.10.18.20.5 AdditionalTxnFeeOfrd Decimal AdditionalTxnFeeOfrd Mandatory
4.10.18.20.6 AdditionalTxnFeePub Decimal AdditionalTxnFeePub Mandatory
4.10.18.20.7 PGCharge Decimal PGCharge Mandatory
4.10.18.20.8 OtherCharges Decimal OtherCharges Mandatory
4.10.18.20.9 PublishedFare Decimal PublishedFare Mandatory
4.10.18.20.10 OfferedFare Decimal OfferedFare Mandatory
4.10.18.20.11 CommissionEarned Decimal CommissionEarned Mandatory
4.10.18.20.12 TdsOnCommission Decimal TdsOnCommission Mandatory
4.10.18.20.13 ServiceFee Decimal ServiceFee Mandatory
4.10.18.20.14 TotalBaggageCharges Decimal TotalBaggageCharges Mandatory
4.10.18.20.15 TotalMealCharges Decimal TotalMealCharges Mandatory
4.10.18.20.16 TotalSeatCharges Decimal TotalSeatCharges Mandatory
4.10.18.20.17 TotalSpecialServiceCharges Decimal TotalSpecialServiceCharges Mandatory
4.10.18.21 Ticket {} Object Ticket Mandatory
4.10.18.21.1 TicketId String TicketId Mandatory
4.10.18.21.2 TicketNumber String TicketNumber Mandatory
4.10.18.21.3 IssueDate String IssueDate Mandatory
4.10.18.21.4 ValidatingAirline String ValidatingAirline Mandatory
4.10.18.21.5 Remarks String Remarks Mandatory
4.10.18.21.6 ServiceFeeDisplayType String ServiceFeeDisplayType Mandatory
4.10.18.21.7 Status String Status Mandatory
4.10.18.22 SegmentAdditionalInfo [] Array SegmentAdditionalInfo Mandatory
4.10.18.22.1 FareBasis String FareBasis Mandatory
4.10.18.22.2 NVA String NVA Mandatory
4.10.18.22.3 NVB String NVB Mandatory
4.10.18.22.4 Baggage String Baggage Mandatory
4.10.18.22.5 Meal String Meal Mandatory
4.10.18.22.6 Seat String Seat Mandatory
4.10.18.22.7 SpecialService String SpecialService Mandatory
4.10.19 CancellationCharges String CancellationCharges Mandatory
4.10.20 Segments [] Array Segments Mandatory
4.10.20.1 Baggage String Baggage Mandatory
4.10.20.2 CabinBaggage String CabinBaggage Mandatory
4.10.20.3 TripIndicator Integer TripIndicator Mandatory
4.10.20.4 SegmentIndicator Integer SegmentIndicator Mandatory
4.10.20.5 DepTime String DepTime Mandatory
4.10.20.6 ArrTime String ArrTime Mandatory
4.10.20.7 Airline {} Object Airline Mandatory
4.10.20.7.1 AirlineCode Integer AirlineCode Mandatory
4.10.20.7.2 AirlineName String AirlineName Mandatory
4.10.20.7.3 FlightNumber Integer FlightNumber Mandatory
4.10.20.7.4 FareClass String FareClass Mandatory
4.10.20.7.5 OperatingCarrier Integer OperatingCarrier Mandatory
4.10.20.8 AirlinePNR String AirlinePNR Mandatory
4.10.20.9 AccumulatedDuration Integer AccumulatedDuration Mandatory
4.10.20.10 Origin {} Object Origin Mandatory
4.10.20.10.1 AirportCode String AirportCode Mandatory
4.10.20.10.2 AirportName String AirportName Mandatory
4.10.20.10.3 Terminal String Terminal Mandatory
4.10.20.10.4 CityCode String CityCode Mandatory
4.10.20.10.5 CityName String CityName Mandatory
4.10.20.10.6 CountryCode String CountryCode Mandatory
4.10.20.10.7 CountryName String CountryName Mandatory
4.10.20.11 Destination {} Object Destination Mandatory
4.10.20.11.1 AirportCode String AirportCode Mandatory
4.10.20.11.2 AirportName String AirportName Mandatory
4.10.20.11.3 Terminal String Terminal Mandatory
4.10.20.11.4 CityCode String CityCode Mandatory
4.10.20.11.5 CityName String CityName Mandatory
4.10.20.11.6 CountryCode String CountryCode Mandatory
4.10.20.11.7 CountryName String CountryName Mandatory
4.10.20.12 Duration Integer Duration Mandatory
4.10.20.13 GroundTime Integer GroundTime Mandatory
4.10.20.14 Mile String Mile Mandatory
4.10.20.15 StopOver String StopOver Mandatory
4.10.20.16 StopPoint String StopPoint Mandatory
4.10.20.17 StopPointArrivalTime String StopPointArrivalTime Mandatory
4.10.20.18 StopPointDepartureTime String StopPointDepartureTime Mandatory
4.10.20.19 Craft String Craft Mandatory
4.10.20.20 Remark String Remark Mandatory
4.10.20.21 IsETicketEligible String IsETicketEligible Mandatory
4.10.20.22 FlightStatus String FlightStatus Mandatory
4.10.20.23 Status String Status Mandatory
4.10.21 FareRules [] Array FareRules Mandatory
4.10.21.1 Origin String Origin Mandatory
4.10.21.2 Destination String Destination Mandatory
4.10.21.3 Airline String Airline Mandatory
4.10.21.4 FareBasisCode String FareBasisCode Mandatory
4.10.21.5 FareRuleDetail String FareRuleDetail Mandatory
4.10.22 FareRestriction String FareRestriction Mandatory
4.10.23 InvoiceNo String InvoiceNo Mandatory
4.10.24 InvoiceStatus String InvoiceStatus Mandatory
4.10.25 InvoiceCreatedOn String InvoiceCreatedOn Mandatory
4.10.26 Remarks String Remarks Mandatory
4.10.27 PartialSegmentCancellation String PartialSegmentCancellation Mandatory