AirDocIssue

This is an after-booking service. It is used to generate the ticket in response to the order ID and the GDS reference ID.
Note: GDS-Global Distribution System.

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/AirDocIssue' \
--header 'Authorization: <YOUR_ACCESS_TOKEN>' \

Request Body Sample

{
    "AirDocIssueRQ": {
        "Document": {
            "Name": "kathir",
            "ReferenceVersion": "1.0"
        },
        "Party": {
            "Sender": {
                "TravelAgencySender": {
                    "Name": "kathir",
                    "IATA_Number": "",
                    "AgencyID": "",
                    "Contacts": {
                        "Contact": [
                            {
                                "EmailContact": "kathir@gmail.com"
                            }
                        ]
                    }
                }
            }
        },
        "Query": {
            "OrderID": "GTXU9O83",
            "GdsBookingReference": ["HHDZ5V"]
        }
    }
}

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": "1620128428738129716",
        "Success": {},
        "Order": [
            {
                "OrderID": "GTXU9O83",
                "GdsBookingReference": "HHDZ5V",
                "NeedToTicket": "N",
                "OfferID": "153011620128432607881245",
                "Owner": "UA",
                "OwnerName": "United Airlines",
                "IsBrandedFare": "Y",
                "CabinOptions": [],
                "IsAdditionalCabinType": "N",
                "TimeLimits": {
                    "OfferExpirationDateTime": "2021-05-04T19:16:55"
                },
                "BookingCurrencyCode": "CAD",
                "EquivCurrencyCode": "CAD",
                "RewardSettings": {
                    "RewardAvailable": "N",
                    "PointTypes": [],
                    "PointValues": {}
                },
                "BookingFeeInfo": {
                    "FeeType": "",
                    "BookingCurrencyPrice": 0,
                    "EquivCurrencyPrice": 0
                },
                "TotalPrice": {
                    "BookingCurrencyPrice": 275.573,
                    "EquivCurrencyPrice": 275.573
                },
                "BasePrice": {
                    "BookingCurrencyPrice": 207.173,
                    "EquivCurrencyPrice": 207.173
                },
                "TaxPrice": {
                    "BookingCurrencyPrice": 68.4,
                    "EquivCurrencyPrice": 68.4
                },
                "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": "NA",
                            "EquivCurrencyPrice": "NA"
                        },
                        "After": {
                            "BookingCurrencyPrice": "NA",
                            "EquivCurrencyPrice": "NA"
                        }
                    },
                    "CancelationFee": {
                        "Before": {
                            "BookingCurrencyPrice": "NA",
                            "EquivCurrencyPrice": "NA"
                        },
                        "After": {
                            "BookingCurrencyPrice": "NA",
                            "EquivCurrencyPrice": "NA"
                        }
                    }
                },
                "PaxSeatInfo": [],
                "OfferItem": [
                    {
                        "OfferItemID": "OFFERITEMID1",
                        "Refundable": "false",
                        "PassengerType": "ADT",
                        "PassengerQuantity": 2,
                        "TotalPriceDetail": {
                            "TotalAmount": {
                                "BookingCurrencyPrice": 183.71533333333332,
                                "EquivCurrencyPrice": 183.71533333333332
                            }
                        },
                        "Service": [
                            {
                                "ServiceID": "SV1",
                                "PassengerRefs": "ADT1 ADT2",
                                "FlightRefs": "Flight1"
                            }
                        ],
                        "FareDetail": {
                            "PassengerRefs": "ADT1 ADT2",
                            "Price": {
                                "TotalAmount": {
                                    "BookingCurrencyPrice": 183.71533333333332,
                                    "EquivCurrencyPrice": 183.71533333333332
                                },
                                "BaseAmount": {
                                    "BookingCurrencyPrice": 138.11533333333333,
                                    "EquivCurrencyPrice": 138.11533333333333
                                },
                                "TaxAmount": {
                                    "BookingCurrencyPrice": 45.6,
                                    "EquivCurrencyPrice": 45.6
                                },
                                "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": "US",
                                        "BookingCurrencyPrice": 10.2,
                                        "EquivCurrencyPrice": 10.2
                                    },
                                    {
                                        "TaxCode": "XF",
                                        "BookingCurrencyPrice": 11,
                                        "EquivCurrencyPrice": 11
                                    },
                                    {
                                        "TaxCode": "AY",
                                        "BookingCurrencyPrice": 13.8,
                                        "EquivCurrencyPrice": 13.8
                                    },
                                    {
                                        "TaxCode": "ZP",
                                        "BookingCurrencyPrice": 10.6,
                                        "EquivCurrencyPrice": 10.6
                                    }
                                ]
                            }
                        },
                        "FareComponent": [
                            {
                                "PriceClassRef": "PCR_1",
                                "SegmentRefs": "Segment1",
                                "FareBasis": {
                                    "FareBasisCode": {
                                        "Refs": "FG_1",
                                        "Code": "LAG2AKBS"
                                    },
                                    "RBD": "N",
                                    "CabinType": "Y",
                                    "SeatLeft": "3"
                                }
                            }
                        ]
                    },
                    {
                        "OfferItemID": "OFFERITEMID2",
                        "Refundable": "false",
                        "PassengerType": "CHD",
                        "PassengerQuantity": 1,
                        "TotalPriceDetail": {
                            "TotalAmount": {
                                "BookingCurrencyPrice": 91.85766666666666,
                                "EquivCurrencyPrice": 91.85766666666666
                            }
                        },
                        "Service": [
                            {
                                "ServiceID": "SV1",
                                "PassengerRefs": "CHD1",
                                "FlightRefs": "Flight1"
                            }
                        ],
                        "FareDetail": {
                            "PassengerRefs": "CHD1",
                            "Price": {
                                "TotalAmount": {
                                    "BookingCurrencyPrice": 91.85766666666666,
                                    "EquivCurrencyPrice": 91.85766666666666
                                },
                                "BaseAmount": {
                                    "BookingCurrencyPrice": 69.05766666666666,
                                    "EquivCurrencyPrice": 69.05766666666666
                                },
                                "TaxAmount": {
                                    "BookingCurrencyPrice": 22.8,
                                    "EquivCurrencyPrice": 22.8
                                },
                                "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": "US",
                                        "BookingCurrencyPrice": 5.1,
                                        "EquivCurrencyPrice": 5.1
                                    },
                                    {
                                        "TaxCode": "XF",
                                        "BookingCurrencyPrice": 5.5,
                                        "EquivCurrencyPrice": 5.5
                                    },
                                    {
                                        "TaxCode": "AY",
                                        "BookingCurrencyPrice": 6.9,
                                        "EquivCurrencyPrice": 6.9
                                    },
                                    {
                                        "TaxCode": "ZP",
                                        "BookingCurrencyPrice": 5.3,
                                        "EquivCurrencyPrice": 5.3
                                    }
                                ]
                            }
                        },
                        "FareComponent": [
                            {
                                "PriceClassRef": "PCR_1",
                                "SegmentRefs": "Segment1",
                                "FareBasis": {
                                    "FareBasisCode": {
                                        "Refs": "FG_1",
                                        "Code": "LAG2AKBS"
                                    },
                                    "RBD": "N",
                                    "CabinType": "Y",
                                    "SeatLeft": "3"
                                }
                            }
                        ]
                    }
                ],
                "BaggageAllowance": [
                    {
                        "SegmentRefs": "Segment1",
                        "PassengerRefs": "ADT1 ADT2",
                        "BaggageAllowanceRef": "Bag1"
                    },
                    {
                        "SegmentRefs": "Segment1",
                        "PassengerRefs": "CHD3",
                        "BaggageAllowanceRef": "Bag1"
                    }
                ],
                "BookingToEquivExRate": 1,
                "FopRef": "FOP_5_5_30_0_UA"
            }
        ],
        "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"
                    },
                    {
                        "attributes": {
                            "PassengerID": "ADT2"
                        },
                        "PassengerID": "ADT2",
                        "PTC": "ADT",
                        "BirthDate": "2000-08-21",
                        "NameTitle": "Mr",
                        "FirstName": "Crish",
                        "MiddleName": "",
                        "LastName": "Evans",
                        "TravelDocument": {
                            "DocumentNumber": "965872345",
                            "ExpiryDate": "2024-01-01",
                            "IssuingCountry": "CA",
                            "DocumentType": ""
                        },
                        "Preference": {
                            "WheelChairPreference": {
                                "Reason": ""
                            },
                            "SeatPreference": "any"
                        },
                        "LoyaltyProgramAccount": [
                            {
                                "ProgramID": "UA",
                                "AirlineID": "UA",
                                "AccountNumber": "111143875"
                            }
                        ],
                        "ContactInfoRef": "CTC1"
                    },
                    {
                        "attributes": {
                            "PassengerID": "CHD3"
                        },
                        "PassengerID": "CHD3",
                        "PTC": "CHD",
                        "BirthDate": "2014-08-21",
                        "NameTitle": "Mr",
                        "FirstName": "Mark",
                        "MiddleName": "",
                        "LastName": "Ruffllo",
                        "TravelDocument": {
                            "DocumentNumber": "96587234",
                            "ExpiryDate": "2023-01-01",
                            "IssuingCountry": "CA",
                            "DocumentType": ""
                        },
                        "Preference": {
                            "WheelChairPreference": {
                                "Reason": ""
                            },
                            "SeatPreference": "any"
                        },
                        "LoyaltyProgramAccount": [
                            {
                                "ProgramID": "AA",
                                "AirlineID": "AA",
                                "AccountNumber": "111143875"
                            }
                        ],
                        "ContactInfoRef": "CTC1"
                    }
                ]
            },
            "DisclosureList": {
                "Disclosures": []
            },
            "FareList": {
                "FareGroup": [
                    {
                        "FareGroupRef": "FG_1",
                        "FareCode": "70J",
                        "FareBasisCode": "LAG2AKBS"
                    }
                ]
            },
            "FlightSegmentList": {
                "FlightSegment": [
                    {
                        "SegmentKey": "Segment1",
                        "Departure": {
                            "AirportCode": "LAX",
                            "Date": "2021-08-28",
                            "Time": "12:15:00",
                            "AirportName": "Los Angeles International Airport",
                            "Terminal": {
                                "Name": "7"
                            }
                        },
                        "Arrival": {
                            "AirportCode": "SFO",
                            "Date": "2021-08-28",
                            "Time": "13:46:00",
                            "AirportName": "San Francisco International Airport",
                            "Terminal": {
                                "Name": "3"
                            }
                        },
                        "MarketingCarrier": {
                            "AirlineID": "UA",
                            "Name": "United Airlines",
                            "FlightNumber": "2623"
                        },
                        "OperatingCarrier": {
                            "AirlineID": "UA",
                            "Name": "United Airlines",
                            "FlightNumber": "2623"
                        },
                        "Equipment": {
                            "AircraftCode": "Airbus A319",
                            "Name": "Airbus A319"
                        },
                        "Code": {
                            "MarriageGroup": ""
                        },
                        "FlightDetail": {
                            "FlightDuration": {
                                "Value": "1 Hrs 31 Min"
                            },
                            "Stops": {
                                "Value": 0
                            },
                            "InterMediate": [],
                            "AirMilesFlown": "0"
                        },
                        "BrandId": "Basic Economy"
                    }
                ]
            },
            "FlightList": {
                "Flight": [
                    {
                        "FlightKey": "Flight1",
                        "Journey": {
                            "Time": "-2 H -29 M",
                            "Stops": 0
                        },
                        "SegmentReferences": "Segment1"
                    }
                ]
            },
            "OriginDestinationList": {
                "OriginDestination": [
                    {
                        "OriginDestinationKey": "OD1",
                        "DepartureCode": "LAX",
                        "ArrivalCode": "SFO",
                        "FlightReferences": "Flight1"
                    }
                ]
            },
            "PriceClassList": {
                "PriceClass": [
                    {
                        "PriceClassID": "PCR_1",
                        "Name": "Basic Economy",
                        "Code": "Basic Economy",
                        "Descriptions": {
                            "Description": []
                        }
                    }
                ]
            },
            "BaggageAllowanceList": {
                "BaggageAllowance": [
                    {
                        "BaggageAllowanceID": "Bag1",
                        "BaggageCategory": "Checked",
                        "AllowanceDescription": {
                            "ApplicableParty": "Traveler",
                            "Description": "CHECKED ALLOWANCE"
                        },
                        "PieceAllowance": {
                            "ApplicableParty": "Traveler",
                            "TotalQuantity": "undefined",
                            "Unit": "Pieces"
                        }
                    }
                ]
            },
            "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
                                }
                            },
                            "RU": {
                                "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": "N",
                        "Types": {}
                    },
                    "FopKey": "FOP_5_5_30_0_UA"
                }
            ]
        },
        "TicketDocInfos": {
            "TicketDocInfo": [
                {
                    "TicketDocument": {
                        "TicketDocNbr": "01623448222454",
                        "Type": "TKT"
                    },
                    "PassengerReference": "ADT1"
                },
                {
                    "TicketDocument": {
                        "TicketDocNbr": "01623448222465",
                        "Type": "TKT"
                    },
                    "PassengerReference": "ADT2"
                },
                {
                    "TicketDocument": {
                        "TicketDocNbr": "01623448222480",
                        "Type": "TKT"
                    },
                    "PassengerReference": "CHD3"
                }
            ]
        },
        "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"
                    },
                    {
                        "PassengerID": "ADT2",
                        "Origin": "LAX",
                        "Destination": "EWR",
                        "DepartureDateTime": "2021-06-19",
                        "MarketingFlightNumber": "3058",
                        "MarketingCarrier": "UA",
                        "SsrType": "SSR",
                        "SsrCode": "Ambul",
                        "FreeText": "SSR"
                    }
                ]
            }
        }
    }
}

Try it out!