Ticket GDS
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. Also, in case of Non LCC bookings, if Passenger’s Date of Birth and Passport details are not provided in the book response, then the same needs to be provided when calling ticket method wherever applicable.
Service URL (REST) to be used:
Ticket GDS Request
Level | Element | Format | Comments | Mandatory |
---|---|---|---|---|
1 | EndUserIp | String | IP Address of the end | 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 (Trace Id to be echoed back from search response. This can be used to trace particular search/ book at SRDV’s end) |
Mandatory |
8 | PNR | String | PNR number | Mandatory |
9 | BookingId | Integer | Unique booking id | 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 | ResponseStatus | String | Response Status | Mandatory |
4 | SrdvType | String | Simple result data version | Mandatory |
5 | Response[] | Array | Response | Mandatory |
5.1 | SrdvIndex | String | Simple result data version index | Mandatory |
5.2 | PNR | String | PNR number | Mandatory |
5.3 | BookingId | Integer | Unique booking id | Mandatory |
5.4 | SSRDenied | String | SSR Denied | Mandatory |
5.5 | SSRMessage | String | SSR Message | Optioal |
5.6 | IsPriceChanged | Boolean | Represents whether price has changed or not | Mandatory |
5.7 | IsTimeChanged | Boolean | Represents whether time has changed or not | Mandatory |
5.8 | TicketStatus | String | Ticket Status | Mandatory |
5.9 | FlightItinerary[] | Array | Fare of search result | Mandatory |
5.9.1 | BookingId | Integer | Unique booking id | Mandatory |
5.9.2 | IsManual | Boolean | Is Manual | Mandatory |
5.9.3 | PNR | String | PNR No | Mandatory |
5.9.4 | IsDomestic | Boolean | Search request
is for domestic or international (Value – True or False) |
Mandatory |
5.9.5 | Source | String | Airline source | Mandatory |
5.9.6 | Origin | String | Origin | Mandatory |
5.9.7 | Destination | String | Destination | Mandatory |
5.9.8 | AirlineCode | String | Airline Code | Mandatory |
5.9.9 | LastTicketDate | String | Last Ticket Date | Mandatory |
5.9.10 | ValidatingAirlineCode | String | Validating Airline Code | Mandatory |
5.9.11 | AirlineRemark | String | Airline Remark | Mandatory |
5.9.12 | IsLCC | Boolean | Is the result for LCC Non LCC | Mandatory |
5.9.13 | NonRefundable | Boolean | Is the fare refundable or not | Mandatory |
5.9.14 | FareType | String | Fare Type | Mandatory |
5.9.15 | CreditNoteNo | String | Credit Note No | Mandatory |
5.9.16 | Fare[] | Array | Fare | Mandatory |
5.9.16.1 | Currency | String | Currency | Mandatory |
5.9.16.2 | BaseFare | Decimal | The total Base fare of the booking for particular pax type |
Mandatory |
5.9.16.3 | Tax | Decimal | Total tax | Mandatory |
5.9.16.4 | YQTax | Decimal | Fuel Surcharge | Mandatory |
5.9.16.5 | AdditionalTxnFeeOfrd | Decimal | Additional
Transaction Fee Offered (It will always be zero) |
Mandatory |
5.9.16.6 | AdditionalTxnFeePub | Decimal | Additional Transaction Fee Published | Mandatory |
5.9.16.7 | PGCharge | Decimal | PG Charge | Mandatory |
5.9.16.8 | OtherCharges | Decimal | Other Charges | Mandatory |
5.9.16.9 | PublishedFare | Decimal | Published Fare | Mandatory |
5.9.16.10 | OfferedFare | Decimal | Offered Fare | Mandatory |
5.9.16.11 | CommissionEarned | Decimal | Agent Commission | Mandatory |
5.10.16.12 | TdsOnCommission | Decimal | TDS on the commission. | Mandatory |
5.9.16.13 | ServiceFee | Decimal | Service Fee | Mandatory |
5.9.16.14 | TotalBaggageCharges | String | Total Baggage Charges | Mandatory |
5.9.16.15 | TotalMealCharges | String | Total Meal Charges | Mandatory |
5.9.16.16 | TotalSeatCharges | Decimal | Total Seat Charges | Mandatory |
5.9.16.17 | TotalSpecialServiceCharges | String | Total Special Service Charges | Mandatory |
5.9.17 | CreditNoteCreatedOn | String | Credit Note Created On | Mandatory |
5.9.18 | Passenger[] | Array | Passenger | Mandatory |
5.9.18.1 | PaxId | String | Unique pax id | Mandatory |
5.9.18.2 | Title | String | Title | Mandatory |
5.9.18.3 | FirstName | String | First Name | Mandatory |
5.9.18.4 | LastName | String | LastName | Mandatory |
5.9.18.5 | PaxType | Integer | Pax Type | Mandatory |
5.9.18.6 | DateOfBirth | Date Time | Date Of Birth | Mandatory |
5.9.18.7 | Gender | String | Gender | Mandatory |
5.9.18.8 | PassportNo | Date Time | Passport No | Optional |
5.9.18.9 | AddressLine1 | String | Address | Mandatory |
5.9.18.10 | City | String | City | Mandatory |
5.9.18.11 | CountryCode | String | Country Code | Mandatory |
5.9.18.12 | CountryName | String | Country Name | Mandatory |
5.9.18.13 | Nationality | String | Nationality | Mandatory |
5.9.18.14 | ContactNo | String | Contact No | Mandatory |
5.9.18.15 | String | Mandatory | ||
5.9.18.16 | IsLeadPax | Boolean | Represent the lead guest of the booking | Mandatory |
5.9.18.17 | FFAirlineCode | String | Frequent flyer airline | Optional |
5.9.18.18 | FFNumber | String | Frequent flyer number | Optional |
5.9.18.19 | Fare[] | Array | Fare | Mandatory |
5.9.18.19.1 | Currency | String | Currency | Mandatory |
5.9.18.19.2 | BaseFare | Decimal | Base fare | Mandatory |
5.9.18.19.3 | Tax | Decimal | Total Tax | Mandatory |
5.9.18.19.4 | YQTax | Decimal | Fuel surcharge | Mandatory |
5.9.18.19.5 | AdditionalTxnFeeOfrd | Decimal | Additional
Transaction Fee Offered (It will always be zero) |
Mandatory |
5.9.18.19.6 | AdditionalTxnFeePub | Decimal | Additional Transaction Fee Published | Mandatory |
5.9.18.19.7 | PGCharge | Decimal | PG Charge | Mandatory |
5.9.18.19.8 | OtherCharges | Decimal | Other Charges | Mandatory |
5.9.18.19.9 | PublishedFare | Decimal | Published Fare | Mandatory |
5.9.18.19.10 | OfferedFare | Decimal | Offered Fare | Mandatory |
5.9.18.19.11 | ServiceFee | Decimal | Service Fee | Mandatory |
5.9.18.19.12 | TotalBaggageCharges | String | Total Baggage Charges | Mandatory |
5.9.18.19.13 | TotalMealCharges | String | Total Meal Charges | Mandatory |
5.9.18.19.14 | TotalSeatCharges | String | Total Seat Charges | Mandatory |
5.9.18.19.15 | TotalSpecialServiceCharges | String | Total Special Service Charges | Mandatory |
5.9.18.20 | Ticket[] | Array | Ticket | Mandatory |
5.9.18.20.1 | TicketId | Integer | Unique ticket id | Mandatory |
5.9.18.20.2 | TicketNumber | Integer | Unique ticket id | Mandatory |
5.9.18.20.3 | IssueDate | Date time | Ticket issue date | Mandatory |
5.9.18.20.4 | ValidatingAirlineCode | String | Validating Airline Code | Mandatory |
5.9.18.20.5 | Remarks | String | Remarks | Mandatory |
5.9.18.20.6 | ServiceFeeDisplayType | String | ServiceFeeDisplayType | Mandatory |
5.9.18.20.7 | Status | String | Booking Status [NotSet = 0, Successful = 1, Failed = 2, OtherFare = 3, OtherClass = 4, BookedOther = 5, NotConfirmed = 6] |
Mandatory |
5.9.18.21 | SegmentAdditionalInfo[] | Array | Segment Additional Info | Mandatory |
5.9.18.21.1 | FareBasisCode | String | Fare Basis Code | Mandatory |
5.9.18.21.2 | NVA | Date Time | Not valid after date | Mandatory |
5.9.18.21.3 | NVB | Date Time | Not valid before date | Mandatory |
5.9.18.21.4 | Baggage | String | Free baggage allowance | Mandatory |
5.9.18.21.5 | Meal | String | Meal | Mandatory |
5.9.18.21.6 | Seat | String | Seat | Mandatory |
5.9.18.21.7 | SpecialService | String | Special Service | Mandatory |
5.9.19 | CancellationCharges | String | Cancellation Charges | Mandatory |
5.9.20 | Segments[] | Array | Segments | Mandatory |
5.9.20.1 | Baggage | String | Cabin Baggage | Mandatory |
5.9.20.2 | CabinBaggage | String | Cabin Baggage | Mandatory |
5.9.20.3 | TripIndicator | String | Trip Indicator | Mandatory |
5.9.20.4 | SegmentIndicator | Integer | Segment indicator | Mandatory |
5.9.20.5 | DepTime | Date Time | Departure time | Mandatory |
5.9.20.6 | ArrTime | Time | Arrival time | Mandatory |
5.9.20.7 | Airline[] | Array | Airline | Mandatory |
5.9.20.7.1 | AirlineCode | String | Airline code | Mandatory |
5.9.20.7.2 | AirlineName | String | Airline name | Mandatory |
5.9.20.7.3 | FlightNumber | String | Flight Number | Mandatory |
5.9.20.7.4 | FareClass | String | FareClass | Mandatory |
5.9.20.7.5 | OperatingCarrier | String | OperatingCarrier | Mandatory |
5.9.20.8 | AirlinePNR | String | Airline PNR | Optional |
5.9.20.9 | AccumulatedDuration | Time | Accumulated Duration | Optional |
5.9.20.10 | Origin[] | Array | Origin | Mandatory |
5.9.20.10.1 | AirportCode | String | Airport Code | Mandatory |
5.9.20.10.2 | AirportName | String | Airport Name | |
5.9.20.10.3 | Terminal | String | Terminal Number | Optional |
5.9.20.10.4 | CityCode | String | City code | Mandatory |
5.9.20.10.5 | CityName | String | City name | Mandatory |
5.9.20.10.6 | CountryCode | String | Country code | Mandatory |
5.9.20.10.7 | CountryName | String | Country name | Mandatory |
5.9.20.11 | Destination[] | Array | Destination | Mandatory |
5.9.20.11.1 | AirportCode | String | Airport Code | Mandatory |
5.9.20.11.2 | AirportName | String | Airport Name | Mandatory |
5.9.20.11.3 | Terminal | String | Terminal Number | Optional |
5.9.20.11.4 | CityCode | String | City code | Mandatory |
5.9.20.11.5 | CityName | String | City name | Mandatory |
5.9.20.11.6 | CountryCode | String | Country code | Mandatory |
5.9.20.11.7 | CountryName | String | Country name | Mandatory |
5.9.20.12 | Duration | Time | Duration | Optional |
5.9.20.13 | GroundTime | Time | Ground time | Optional |
5.9.20.14 | Mile | String | Miles | Optional |
5.9.20.15 | StopOver | String | Stop Over | Optional |
5.10.20.16 | StopPoint | String | Stopover point | Optional |
5.9.20.17 | StopPointArrivalTime | Date Time | Stopover arrival time | Optional |
5.9.20.18 | StopPointDepartureTime | Date Time | Stopover departure time | Optional |
5.9.20.19 | Craft | String | Craft | Optional |
5.9.20.20 | Remark | String | Remark | Optional |
5.9.20.21 | IsETicketEligible | Boolean | Is E-Ticket eligible | Mandatory |
5.9.20.22 | FlightStatus | String | Flight status Code | Mandatory |
5.9.20.23 | Status | String | Status | Mandatory |
5.9.21 | FareRules[] | Array | Fare Rules | Mandatory |
5.9.21.1 | Origin | String | Origin | Mandatory |
5.9.21.2 | Destination | String | Destination | Mandatory |
5.9.21.3 | Airline | String | Airline | Mandatory |
5.9.21.4 | FareBasisCode | String | Fare Basis Code | Mandatory |
5.9.21.5 | FareRuleDetail | String List | Fare Rule Detail | Mandatory |
5.9.21.6 | FareRestriction | String | Fare Restriction | Mandatory |
5.9.22 | InvoiceNo | String | Invoice No | Mandatory |
5.9.23 | InvoiceStatus | String | Invoice Status | Mandatory |
5.9.24 | InvoiceCreatedOn | String | Invoice Created On | Mandatory |
5.9.25 | Remarks | String | Remarks | Mandatory |
5.10.26 | PartialSegmentCancellation | String |
"Allowed" : For connecting flights, you can cancel the part journey. "Not Allowed" : For connecting flights, you cannot cancel the part journey. You need to cancel the full journey. |
Optional |