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 | SrdvIndex | String | Simple result data version index | Mandatory |
7 | TraceId | String | Trace Id | Mandatory |
8 | ResultIndex | String | Result Index | Mandatory |
9 | Passengers[] | Array | Passengers | Mandatory |
9.1 | Title | String | Title Adult - Mr/Mrs Child - Miss/Mstr Infant - Miss/Mstr |
Mandatory |
9.2 | FirstName | String | First Name | Mandatory |
9.3 | LastName | String | LastName | Mandatory |
9.4 | PaxType | String | Pax Type (1 - Adult, 2 - Child,3 - Infant) | Mandatory |
9.5 | DateOfBirth | Date Time | Date Of Birth (Adult DOB (Mandatory For Air Asia), Child And Infant DOB (Mandatory For All Airlines), DateFormat => 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 | Optional |
9.11 | AddressLine1 | String | Address (Max of 32 characters) | Mandatory |
9.12 | City | String | City | Mandatory |
9.13 | CountryCode | String | Country Code | Mandatory |
9.14 | CountryName | String | Country Name | Mandatory |
9.15 | ContactNo | String | Contact No | Mandatory |
9.16 | String | Mandatory | ||
9.17 | IsLeadPax | Boolean | Represent the lead guest of the booking (Value - true / false) |
Mandatory |
9.18 | DocumentType | String |
For special fares such as Student Fare, Armed Forces Fare, etc., the following documents may be required as valid identification: Aadhaar Card Voter ID Driving License Passport PAN Card Student ID (for Student Fare) Military ID (for Armed Forces Fare) Ensure to have one or more of these documents readily available when availing of special fare options. |
Optional |
9.19 | 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.20 | Fare[] | Array | Fare | Mandatory |
9.20.1 | BaseFare | Decimal | Base fare | Mandatory |
9.20.2 | Tax | Decimal | Tax | Mandatory |
9.20.3 | TransactionFee | Decimal | Transaction Fee | Mandatory |
9.20.4 | YQTax | Decimal | Fuel surcharge | Mandatory |
9.20.5 | AdditionalTxnFeeOfrd | Decimal | Additional Transaction Fee Offered (It will always be zero) | Mandatory |
9.20.6 | AdditionalTxnFeePub | Decimal | Additional Transaction Fee Offered | Mandatory |
9.20.7 | AirTransFee | Decimal | Air trans fee | Mandatory |
9.21 | Baggage[] | Array | if this parameter is selected, then certain sub-parameters become mandatory. Otherwise, the "Baggage" parameter remains an empty array. | Mandatory |
9.21.1 | WayType | Integer | Way Type - [Segment = 1,FullJourney = 2] | Mandatory |
9.21.2 | Description | String | Description | Mandatory |
9.21.3 | Weight | String | Baggage weight | Mandatory |
9.21.4 | Currency | String | Currency | Mandatory |
9.21.5 | Price | Decimal | Baggage price | Mandatory |
9.21.6 | Origin | String | Origin | Mandatory |
9.21.7 | Destination | String | Destination | Mandatory |
9.22 | MealDynamic[] | Array | if this parameter is selected, then certain sub-parameters become mandatory. Otherwise, the "MealDynamic" 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 | AirlineDescription | String | Airline Description | Mandatory |
9.22.4 | Quantity | String | Meal Quantity | Mandatory |
9.22.5 | Currency | String | Currency | Mandatory |
9.22.6 | Price | Decimal | Meal Price | Mandatory |
9.22.7 | Origin | String | Origin Code (Ex- DEL) | Mandatory |
9.22.8 | Destination | String | Destination Code (Ex- BOM) | Mandatory |
9.23 | Seat[] | Array | Seat | Mandatory |
9.23.1 | AirlineCode | String | Airline Code | Mandatory |
9.23.2 | AirlineNumber | String | Airline Number/ Flight Number | Mandatory |
9.23.3 | SeatNumber | String | Seat Number | Mandatory |
9.23.4 | IsBooked | Boolean | is already booked for a seat or not. | Mandatory |
9.23.5 | IsLegroom | Boolean | Leg Space (attribute will present only if available) | Mandatory |
9.23.6 | IsAisle | Boolean | Aisle seat | Mandatory |
9.23.7 | Amount | Double | Seat Chargeable amount. | Mandatory |
9.23.8 | Code | String | Seat Code | Mandatory |
9.23.9 | Origin | String | Origin Code (Ex- DEL) | Mandatory |
9.23.10 | Destination | String | Destination Code (Ex- BLR) | Mandatory |
9.24 | GSTCompanyAddress | String | Mandaory in case of IsGSTMandatory is TRUE in FareQuote response otherwise Optional | Mandatory |
9.25 | GSTCompanyContactNumber | String | Mandaory in case of IsGSTMandatory is TRUE in FareQuote response otherwise Optional | Mandatory |
9.26 | GSTCompanyName | String | Mandaory in case of IsGSTMandatory is TRUE in FareQuote response otherwise Optional | Mandatory |
9.27 | GSTNumber | String | Mandaory in case of IsGSTMandatory is TRUE in FareQuote response otherwise Optional | Mandatory |
9.28 | GSTCompanyEmail | String | Mandaory in case of IsGSTMandatory is TRUE in FareQuote response otherwise Optional | Mandatory |
Level | Element | Format | Comments | Mandatory |
---|---|---|---|---|
1 | Error[] | Array | 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 | 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 | The "Status (true/false)" field indicates whether the airline has received the ticket request, with true meaning the request has been received, and false meaning it has not. However, it is mentioned that this status is not particularly useful for normal API integrations. Instead, the document suggests using "TicketStatus", which likely provides more relevant or detailed information regarding the ticket's progress or state for API interactions. | 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 | This seems to be a list of possible status codes for ticket-related responses, where each code corresponds to a different outcome of the ticket creation or request process. Here's a breakdown: 0 = Failed: The ticket request has failed. 1 = Successful: The ticket request was successful, and the ticket was created. 2 = NotSaved: The ticket request was not saved. 3 = NotCreated: The ticket was not created. 4 = NotAllowed: The action was not permitted. 5 = InProgress: The ticket request is still being processed. 6 = TicketAlreadyCreated: The ticket has already been created. 8 = PriceChanged: The ticket price has changed. 9 = OtherError: An unspecified or different error occurred. These codes provide a way to identify the specific outcome or status of a ticket-related process in the system. |
Mandatory |
4.10 | FlightItinerary | Object | 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 | String | 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.23 | Baggage | String | Baggage | Mandatory |
4.10.20.24 | CabinBaggage | String | CabinBaggage | Mandatory |
4.10.20.25 | TripIndicator | Integer | TripIndicator | Mandatory |
4.10.20.26 | SegmentIndicator | Integer | SegmentIndicator | Mandatory |
4.10.20.27 | DepTime | String | DepTime | Mandatory |
4.10.20.28 | ArrTime | String | ArrTime | Mandatory |
4.10.20.29 | Airline | Object | Airline | Mandatory |
4.10.20.29.8 | AirlineCode | Integer | AirlineCode | Mandatory |
4.10.20.29.9 | AirlineName | String | AirlineName | Mandatory |
4.10.20.29.10 | FlightNumber | Integer | FlightNumber | Mandatory |
4.10.20.29.11 | FareClass | String | FareClass | Mandatory |
4.10.20.29.12 | OperatingCarrier | Integer | OperatingCarrier | Mandatory |
4.10.20.30 | AirlinePNR | String | AirlinePNR | Mandatory |
4.10.20.31 | AccumulatedDuration | Integer | AccumulatedDuration | Mandatory |
4.10.20.32 | Origin | Object | Origin | Mandatory |
4.10.20.32.1 | AirportCode | String | AirportCode | Mandatory |
4.10.20.32.2 | AirportName | String | AirportName | Mandatory |
4.10.20.32.3 | Terminal | String | Terminal | Mandatory |
4.10.20.32.4 | CityCode | String | CityCode | Mandatory |
4.10.20.32.5 | CityName | String | CityName | Mandatory |
4.10.20.32.6 | CountryCode | String | CountryCode | Mandatory |
4.10.20.32.7 | CountryName | String | CountryName | Mandatory |
4.10.20.33 | Destination | Object | Destination | Mandatory |
4.10.20.33.1 | AirportCode | String | AirportCode | Mandatory |
4.10.20.33.2 | AirportName | String | AirportName | Mandatory |
4.10.20.33.3 | Terminal | String | Terminal | Mandatory |
4.10.20.33.4 | CityCode | String | CityCode | Mandatory |
4.10.20.33.5 | CityName | String | CityName | Mandatory |
4.10.20.33.6 | CountryCode | String | CountryCode | Mandatory |
4.10.20.33.7 | CountryName | String | CountryName | Mandatory |
4.10.20.34 | Duration | Integer | Duration | Mandatory |
4.10.20.35 | GroundTime | Integer | GroundTime | Mandatory |
4.10.20.36 | Mile | String | Mile | Mandatory |
4.10.20.37 | StopOver | String | StopOver | Mandatory |
4.10.20.38 | StopPoint | String | StopPoint | Mandatory |
4.10.20.39 | StopPointArrivalTime | String | StopPointArrivalTime | Mandatory |
4.10.20.40 | StopPointDepartureTime | String | StopPointDepartureTime | Mandatory |
4.10.20.41 | Craft | String | Craft | Mandatory |
4.10.20.42 | Remark | String | Remark | Mandatory |
4.10.20.43 | IsETicketEligible | String | IsETicketEligible | Mandatory |
4.10.20.44 | FlightStatus | String | FlightStatus | Mandatory |
4.10.20.45 | Status | String | Status | Mandatory |
4.10.21 | FareRules | Array | FareRules | Mandatory |
4.10.21.1 | Origin | String | Origin | Mandatory |
4.10.21.1 | Destination | String | Destination | Mandatory |
4.10.21.1 | Airline | String | Airline | Mandatory |
4.10.21.1 | FareBasisCode | String | FareBasisCode | Mandatory |
4.10.21.1 | 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 |