AirSplitPnr

The AirSplitPnr endpoint is designed to allow users to split a booking among multiple passengers. This endpoint is useful when a booking has already been made for two or more passengers, and the user wants to book each person separately

For example, if a group of four people has booked a flight together, but one person wants to change their flight, the AirSplitPnr endpoint can be used to separate that person’s booking from the rest of the group.

There is an important condition for using this service, which is that there must be at least one adult passenger for each booking. It provides you with the response of split and original PNR.

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 the unique identifier that is typically provided by the airline at the time of booking. This is the required field, and the value will be String.

  • GdsBookingReference: This is the code that is used by GDS to identify the booking. The GDS booking references are typically provided by the airlines at the time of booking. This is the required field, and the value will be the String.

    Note: GDS-Global Distribution System.


  • Passenger: This is an Array.

    Note: This is a required field. The passenger list must have at least one adult. Infant object count should be less than or equal to the adult count. More than nine passengers are not accepted.

    • PassengerID: Provide the passenger ID for the request. This is a String value.

    • PTC: Provide the passenger type. Valid values are ADT, CHD, and INF. This is a String value.

    • NameTitle: Provide the title of the name. Valid values are Mrs, Miss, Ms, and Mstr. This is a String value.

    • FirstName: Provide the first name. This is a String value.

    • MiddleName: Provide the middle name. This is a String value.

    • LastName: Provide the last name. This is a String value.


Request URL

curl --location --request POST 'https://newapi.tltid.com/AirSplitPnr' \
--header 'Authorization: <YOUR_ACCESS_TOKEN>' \

Request Body Sample

{
    "AirSplitPnrRQ": {
        "Document": {
            "Name": "Skyroute B2B Portal",
            "ReferenceVersion": "1.0"
        },
        "Party": {
            "Sender": {
                "TravelAgencySender": {
                    "Name": "Skyroute B2B",
                    "IATA_Number": "1111111111",
                    "AgencyID": "1111111111",
                    "Contacts": {
                        "Contact": [
                            {
                                "emailcontact": "pst@claritytts.com"
                            }
                        ]
                    }
                }
            }
        },
        "Query": {
            "OrderID": "NXDX03YD",
            "GdsBookingReference": "OUYAMD"
        },
        "DataLists": {
            "PassengerList": {
                "Passenger": [
                    {
                        "PassengerID": "T1",
                        "PTC": "ADT",
                        "NameTitle": "Mr",
                        "FirstName": "LEBRON",
                        "MiddleName": "",
                        "LastName": "JAMES"
                    }
                ]
            }
        }
    }
}

Response Sample

{
    "AirSplitPnrRS": {
        "Document": {
            "Name": "API GATEWAY",
            "ReferenceVersion": "1.2"
        },
        "Party": {
            "Sender": {
                "TravelAgencySender": {
                    "Name": "Lucky Travels",
                    "IATA_Number": "",
                    "AgencyID": "",
                    "Contacts": {
                        "Contact": [
                            {
                                "EmailContact": "pst@claritytts.com"
                            }
                        ]
                    }
                }
            }
        },
        "ShoppingResponseId": "1678755966624342575",
        "Success": {},
        "OriginalOrderID": "NXDX03YD",
        "SplitedOrderID": "FLY8DB45",
        "OriginalGdsBookingReference": "OUYAMD",
        "SplitedGdsBookingReference": "OHBHEG"
    }
}

Try it out!