AirSplitPnr

You can use this endpoint to split the booking among passengers . You can use it if you have already ordered the offer for two or more passengers, and now want to book for each person separately. The only condition for this service is that you need at least one adult for each booking.

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.

    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":"skyroute@gmail.com"
              }
            ]
          }
        }
      }
    },
    "Query": {
        "OrderID": "GTXU9O83",
        "GdsBookingReference": ["HHDZ5V"]
    },
    "DataLists":{
      "PassengerList":{
        "Passenger":[
          {
            "PassengerID":"T1",
            "PTC":"ADT",
            "NameTitle":"MR",
            "FirstName":"KUMAR",
            "MiddleName":"",
            "LastName":"ARUN"
          }
        ]
      }
    }
  }
}

Response Sample

{
  "AirSplitPnrRS":{
    "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"
              }
            ]
          }
        }
      }
    },
    "ShoppingResponseId": "1610529951733825798",
    "Success": {},
    "OriginalGdsBookingReference": "HHDZ5V",
    "SplitedGdsBookingReference":"ATRSGT"
  }
}

Try it out!