AirPostBookingAncillary

This is an after-booking service. It is used to add ancillaries like baggage or meals. Information about Order ID and GDS Booking Reference is required to retrieve ancillary information.

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

Request Body Sample

{
    "AirServiceListRQ": {
        "Document": {
            "Name": "Wintlt NDC GATEWAY",
            "ReferenceVersion": "1.0"
        },
        "Party": {
            "Sender": {
                "TravelAgencySender": {
                    "Name": "Skyroute B2B Portal",
                    "IATA_Number": "1111111111",
                    "AgencyID": "Skyroute B2B Portal",
                    "Contacts": {
                        "Contact": [
                            {
                                "EmailContact": "skyroute@gmail.com"
                            }
                        ]
                    }
                }
            }
        },
        "Query": {
            "OrderID": "0POSCFP2",
            "GdsBookingReference": ["YTINUH"]
        }
    }
}

Response Sample

{
    "AirServiceListRS": {
        "Document": {
            "Name": "Clarity NDC GATEWAY",
            "ReferenceVersion": "1.2"
        },
        "Party": {
            "Sender": {
                "TravelAgencySender": {
                    "Name": "kathir",
                    "IATA_Number": "",
                    "AgencyID": "",
                    "Contacts": {
                        "Contact": [
                            {
                                "EmailContact": "kathir@gmail.com"
                            }
                        ]
                    }
                }
            }
        },
        "ShoppingResponseId": "1620935432360360661",
        "ServiceListResponseId": "1620935651122616517",
        "ALaCarteOffer": {
            "Parameters": {
                "TotalItemQuantity": 2
            },
            "TimeLimits": {
                "OfferExpiration": "2021-05-14T01:54:17"
            },
            "ALaCarteOfferItem": [
                {
                    "OfferItemID": "ALaCarteOfferItem-1",
                    "Eligibility": {
                        "PassengerRefs": "ADT1",
                        "SegmentRefs": "Segment1"
                    },
                    "Price": {
                        "Base": {
                            "BookingCurrencyPrice": 6.05,
                            "EquivCurrencyPrice": 6.05
                        },
                        "Tax": {
                            "BookingCurrencyPrice": 0,
                            "EquivCurrencyPrice": 0
                        },
                        "Total": {
                            "BookingCurrencyPrice": 6.05,
                            "EquivCurrencyPrice": 6.05
                        }
                    }
                },
                {
                    "OfferItemID": "ALaCarteOfferItem-2",
                    "Eligibility": {
                        "PassengerRefs": "ADT1",
                        "SegmentRefs": "Segment2"
                    },
                    "Price": {
                        "Base": {
                            "BookingCurrencyPrice": 6.05,
                            "EquivCurrencyPrice": 6.05
                        },
                        "Tax": {
                            "BookingCurrencyPrice": 0,
                            "EquivCurrencyPrice": 0
                        },
                        "Total": {
                            "BookingCurrencyPrice": 6.05,
                            "EquivCurrencyPrice": 6.05
                        }
                    }
                }
            ]
        },
        "ServiceList": [
            {
                "OfferItemRefs": "ALaCarteOfferItem-1",
                "ServiceID": "1620935657277722278",
                "ServiceDefinitionRef": "SRV-1"
            },
            {
                "OfferItemRefs": "ALaCarteOfferItem-2",
                "ServiceID": "1620935657277489250",
                "ServiceDefinitionRef": "SRV-1"
            }
        ],
        "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"
                    }
                ]
            },
            "ServiceDefinitionList": {
                "ServiceDefinition": [
                    {
                        "ServiceDefinitionID": "SRV-1",
                        "ServiceType": "MEAL",
                        "ServiceCode": "HOT DINNER",
                        "ServiceName": "HOT DINNER"
                    }
                ]
            },
            "FlightSegmentList": {
                "FlightSegment": [
                    {
                        "SegmentKey": "Segment1",
                        "Departure": {
                            "AirportCode": "MAA",
                            "Date": "2021-11-25",
                            "Time": "09:15:00",
                            "AirportName": "Chennai International Airport",
                            "Terminal": {
                                "Name": ""
                            }
                        },
                        "Arrival": {
                            "AirportCode": "AUH",
                            "Date": "2021-11-25",
                            "Time": "12:20:00",
                            "AirportName": "Abu Dhabi International Airport",
                            "Terminal": {
                                "Name": ""
                            }
                        },
                        "MarketingCarrier": {
                            "AirlineID": "EY",
                            "Name": "Etihad Airways",
                            "FlightNumber": "239"
                        },
                        "OperatingCarrier": {
                            "AirlineID": "EY",
                            "Name": "Etihad Airways",
                            "FlightNumber": "239"
                        },
                        "Equipment": {
                            "AircraftCode": "32A",
                            "Name": ""
                        },
                        "Code": {},
                        "FlightDetail": {
                            "FlightDuration": {
                                "Value": "4 Hrs 35 Min"
                            },
                            "Stops": {
                                "Value": 0
                            }
                        },
                        "BrandId": ""
                    },
                    {
                        "SegmentKey": "Segment2",
                        "Departure": {
                            "AirportCode": "AUH",
                            "Date": "2021-11-25",
                            "Time": "13:00:00",
                            "AirportName": "Abu Dhabi International Airport",
                            "Terminal": {
                                "Name": ""
                            }
                        },
                        "Arrival": {
                            "AirportCode": "XNB",
                            "Date": "2021-11-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": {},
                        "FlightDetail": {
                            "FlightDuration": {
                                "Value": "1 Hrs 20 Min"
                            },
                            "Stops": {
                                "Value": 0
                            }
                        },
                        "BrandId": ""
                    }
                ]
            },
            "FlightList": {
                "Flight": [
                    {
                        "FlightKey": "Flight1",
                        "Journey": {
                            "Time": "6 H 35 M",
                            "Stops": 1
                        },
                        "SegmentReferences": "Segment1 Segment2"
                    }
                ]
            },
            "OriginDestinationList": {
                "OriginDestination": [
                    {
                        "OriginDestinationKey": "OD1",
                        "DepartureCode": "MAA",
                        "ArrivalCode": "XNB",
                        "FlightReferences": "Flight1"
                    }
                ]
            }
        }
    }
}

Try it out!