This is an after-booking service. It is used to retrieve the ticket document details stored in Global Distribution System (GDS). You need Order ID and GDS Booking Reference to retrieve it.
Schema
-
Name: Provide the name for the request. This is a String value.
-
ReferenceVersion: Provide the version number. This is a Numeric value.
-
Travel Agency Sender:
-
Name: Provide the name for the request. This is a String value.
-
IATA Number: Provide the IATA number for the request. This is a String value.
-
Agency ID: Provide the agency ID for the request. This is a String value.
-
Contacts: This is an Array.
- EmailContact: Provide the email contact for the request. This is a String value.
-
-
OrderID: This is a required field. Provide the order ID for a specific selection. The value will be String.
-
GdsBookingReference: This is a required field. Provide the Gds booking reference for a specific selection. The value will be String.
Request URL
curl --location --request POST 'https://newapi.tltid.com/AirDocRetreive' \
--header 'Authorization: <YOUR_ACCESS_TOKEN>' \
Request Body Sample
{
"AirDocRetreiveRQ": {
"Document": {
"Name": "Skyroute B2B Portal",
"ReferenceVersion": "1.0"
},
"Party": {
"Sender": {
"TravelAgencySender": {
"Name": "Skyroute B2B",
"IATA_Number": "1111111111",
"AgencyID": "1111111111",
"Contacts": {
"Contact": [
{
"emailcontact": "skyroute@gmail.com"
}
]
}
}
}
},
"Query": {
"OrderID": "6GHBPISN",
"GdsBookingReference": ["WHSSEW"]
}
}
}
Response Sample
{
"OrderViewRS": {
"Document": {
"Name": "Clarity NDC GATEWAY",
"ReferenceVersion": "1.2"
},
"Party": {
"Sender": {
"TravelAgencySender": {
"Name": "kathir",
"IATA_Number": "",
"AgencyID": "",
"Contacts": {
"Contact": [
{
"EmailContact": "kathir@gmail.com"
}
]
}
}
}
},
"ShoppingResponseId": "1620355940584375141",
"Success": {},
"Order": [
{
"OrderID": "6GHBPISN",
"GdsBookingReference": "WHSSEW",
"NeedToTicket": "N",
"OfferID": "151711620355947856168534",
"Owner": "EY",
"OwnerName": "Etihad Airways",
"IsBrandedFare": "Y",
"CabinOptions": [],
"IsAdditionalCabinType": "N",
"Eticket": "",
"TimeLimits": {
"OfferExpirationDateTime": "2021-05-10T18:38:22"
},
"BookingCurrencyCode": "CAD",
"EquivCurrencyCode": "CAD",
"HstPercentage": "",
"RewardSettings": {
"RewardAvailable": "N",
"PointTypes": [],
"PointValues": {}
},
"BookingFeeInfo": {
"FeeType": "",
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
},
"TotalPrice": {
"BookingCurrencyPrice": 130.493,
"EquivCurrencyPrice": 130.493
},
"BasePrice": {
"BookingCurrencyPrice": 64.173,
"EquivCurrencyPrice": 64.173
},
"TaxPrice": {
"BookingCurrencyPrice": 66.32,
"EquivCurrencyPrice": 66.32
},
"Commission": {
"AgencyCommission": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
},
"AgencyYqCommission": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
}
},
"PortalCharges": {
"Markup": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
},
"Surcharge": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
},
"Discount": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
}
},
"Penalty": {
"ChangeFee": {
"Before": {
"BookingCurrencyPrice": 226.88,
"EquivCurrencyPrice": 226.88
},
"After": {
"BookingCurrencyPrice": 236.88,
"EquivCurrencyPrice": 236.88
}
},
"CancelationFee": {
"Before": {
"BookingCurrencyPrice": 175,
"EquivCurrencyPrice": 175
},
"After": {
"BookingCurrencyPrice": 185,
"EquivCurrencyPrice": 185
}
}
},
"PaxSeatInfo": [],
"OfferItem": [
{
"OfferItemID": "OFFERITEMID1",
"Refundable": "true",
"PassengerType": "ADT",
"PassengerQuantity": 1,
"TotalPriceDetail": {
"TotalAmount": {
"BookingCurrencyPrice": 130.493,
"EquivCurrencyPrice": 130.493
}
},
"Service": [
{
"ServiceID": "SV1",
"PassengerRefs": "ADT1",
"FlightRefs": "Flight1"
}
],
"FareDetail": {
"PassengerRefs": "ADT1",
"Price": {
"TotalAmount": {
"BookingCurrencyPrice": 130.493,
"EquivCurrencyPrice": 130.493
},
"BaseAmount": {
"BookingCurrencyPrice": 64.173,
"EquivCurrencyPrice": 64.173
},
"TaxAmount": {
"BookingCurrencyPrice": 66.32,
"EquivCurrencyPrice": 66.32
},
"Commission": {
"AgencyCommission": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
},
"AgencyYqCommission": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
}
},
"BookingFee": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
},
"PortalCharges": {
"Markup": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
},
"Surcharge": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
},
"Discount": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
}
},
"Taxes": [
{
"TaxCode": "YQ",
"BookingCurrencyPrice": 36.93,
"EquivCurrencyPrice": 36.93
},
{
"TaxCode": "YR",
"BookingCurrencyPrice": 3.69,
"EquivCurrencyPrice": 3.69
},
{
"TaxCode": "K3",
"BookingCurrencyPrice": 5.23,
"EquivCurrencyPrice": 5.23
},
{
"TaxCode": "IN",
"BookingCurrencyPrice": 1.36,
"EquivCurrencyPrice": 1.36
},
{
"TaxCode": "ZR",
"BookingCurrencyPrice": 1.68,
"EquivCurrencyPrice": 1.68
},
{
"TaxCode": "P2",
"BookingCurrencyPrice": 17.43,
"EquivCurrencyPrice": 17.43
}
]
}
},
"FareComponent": [
{
"PriceClassRef": "PCR_1",
"SegmentRefs": "Segment1 Segment2",
"FareBasis": {
"FareBasisCode": {
"Refs": "FG_1 FG_1",
"Code": "ERH1EY ERH1EY"
},
"RBD": "E E",
"CabinType": "Y Y",
"SeatLeft": "9 9"
}
}
]
}
],
"BaggageAllowance": [
{
"SegmentRefs": "Segment1 Segment2",
"PassengerRefs": "ADT1",
"BaggageAllowanceRef": "Bag1"
}
],
"BookingToEquivExRate": 1,
"FopRef": "FOP_5_5_17_0_ALL"
}
],
"DataLists": {
"PassengerList": {
"Passengers": [
{
"attributes": {
"PassengerID": "ADT1"
},
"PassengerID": "ADT1",
"PTC": "ADT",
"BirthDate": "2000-07-21",
"NameTitle": "Mr",
"FirstName": "downey",
"MiddleName": "",
"LastName": "Robert",
"TravelDocument": {
"DocumentNumber": "9658745",
"ExpiryDate": "2024-01-01",
"IssuingCountry": "CA",
"DocumentType": ""
},
"Preference": {
"WheelChairPreference": {
"Reason": ""
},
"SeatPreference": "any"
},
"LoyaltyProgramAccount": [
{
"ProgramID": "AA",
"AirlineID": "AA",
"AccountNumber": "8349843875"
}
],
"ContactInfoRef": "CTC1"
}
]
},
"DisclosureList": {
"Disclosures": []
},
"FareList": {
"FareGroup": [
{
"FareGroupRef": "FG_1",
"FareCode": "70J",
"FareBasisCode": "ERH1EY"
}
]
},
"FlightSegmentList": {
"FlightSegment": [
{
"SegmentKey": "Segment1",
"Departure": {
"AirportCode": "MAA",
"Date": "2021-10-25",
"Time": "09:25:00",
"AirportName": "Chennai International Airport",
"Terminal": {
"Name": "4"
}
},
"Arrival": {
"AirportCode": "AUH",
"Date": "2021-10-25",
"Time": "12:15:00",
"AirportName": "Abu Dhabi International Airport",
"Terminal": {
"Name": "1"
}
},
"MarketingCarrier": {
"AirlineID": "EY",
"Name": "Etihad Airways",
"FlightNumber": "239"
},
"OperatingCarrier": {
"AirlineID": "EY",
"Name": "Etihad Airways",
"FlightNumber": "239"
},
"Equipment": {
"AircraftCode": "",
"Name": ""
},
"Code": {
"MarriageGroup": ""
},
"FlightDetail": {
"FlightDuration": {
"Value": "4 Hrs 20 Min"
},
"Stops": {
"Value": 0
},
"InterMediate": [],
"AirMilesFlown": "1860"
},
"BrandId": "YH"
},
{
"SegmentKey": "Segment2",
"Departure": {
"AirportCode": "AUH",
"Date": "2021-10-25",
"Time": "13:00:00",
"AirportName": "Abu Dhabi International Airport",
"Terminal": {
"Name": "1"
}
},
"Arrival": {
"AirportCode": "XNB",
"Date": "2021-10-25",
"Time": "14:20:00",
"AirportName": "United Arab Emirates",
"Terminal": {
"Name": ""
}
},
"MarketingCarrier": {
"AirlineID": "EY",
"Name": "Etihad Airways",
"FlightNumber": "5422"
},
"OperatingCarrier": {
"AirlineID": "EY",
"Name": "Etihad Airways",
"FlightNumber": "5422"
},
"Equipment": {
"AircraftCode": "Bus",
"Name": "Bus"
},
"Code": {
"MarriageGroup": ""
},
"FlightDetail": {
"FlightDuration": {
"Value": "1 Hrs 20 Min"
},
"Stops": {
"Value": 0
},
"InterMediate": [],
"AirMilesFlown": "381"
},
"BrandId": "YH"
}
]
},
"FlightList": {
"Flight": [
{
"FlightKey": "Flight1",
"Journey": {
"Time": "10 H 25 M",
"Stops": 1
},
"SegmentReferences": "Segment1 Segment2"
}
]
},
"OriginDestinationList": {
"OriginDestination": [
{
"OriginDestinationKey": "OD1",
"DepartureCode": "MAA",
"ArrivalCode": "XNB",
"FlightReferences": "Flight1"
}
]
},
"PriceClassList": {
"PriceClass": [
{
"PriceClassID": "PCR_1",
"Name": "ECONOMY HBO",
"Code": "ECONOMY HBO",
"Descriptions": {
"Description": []
}
}
]
},
"BaggageAllowanceList": {
"BaggageAllowance": [
{
"BaggageAllowanceID": "Bag1",
"BaggageCategory": "Checked",
"AllowanceDescription": {
"ApplicableParty": "Traveler",
"Description": "CHECKED ALLOWANCE"
},
"PieceAllowance": {
"ApplicableParty": "Traveler",
"TotalQuantity": "0",
"Unit": "kg"
}
}
]
},
"FopList": [
{
"CC": {
"Allowed": "Y",
"Types": {
"AX": {
"F": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
},
"P": 0,
"Charges": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
}
},
"MC": {
"F": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
},
"P": 0,
"Charges": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
}
},
"VI": {
"F": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
},
"P": 0,
"Charges": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
}
}
}
},
"DC": {
"Allowed": "Y",
"Types": {
"MC": {
"F": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
},
"P": 0,
"Charges": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
}
},
"VI": {
"F": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
},
"P": 0,
"Charges": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
}
}
}
},
"CASH": {
"Allowed": "Y",
"Types": {}
},
"CHEQUE": {
"Allowed": "Y",
"Types": {}
},
"ACH": {
"Allowed": "Y",
"Types": {}
},
"PG": {
"Allowed": "Y",
"Types": {}
},
"FopKey": "FOP_5_5_17_0_ALL"
}
]
},
"TicketDocInfos": {
"TicketDocInfo": [
{
"TicketDocument": {
"TicketDocNbr": "6073737588139",
"Type": "TKT"
},
"PassengerReference": "ADT1"
}
]
},
"MetaData": {
"PassengerMetadata": {
"SpecialServiceRequest": [
{
"PassengerID": "ADT1",
"Origin": "LAX",
"Destination": "EWR",
"DepartureDateTime": "2021-06-19",
"MarketingFlightNumber": "3058",
"MarketingCarrier": "UA",
"SsrType": "SSR",
"SsrCode": "Ambulatory",
"FreeText": "jk"
},
{
"PassengerID": "ADT1",
"Origin": "LAX",
"Destination": "EWR",
"DepartureDateTime": "2021-06-19",
"MarketingFlightNumber": "3058",
"MarketingCarrier": "UA",
"SsrType": "SSR",
"SsrCode": "FREE MEAL",
"FreeText": "SSRRR"
}
]
}
}
}
}