AirOfferPrice

You can use this endpoint to get rates for specific travel requirements and to price that particular Shopping Response ID and Offer ID.

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.

This is a required field. You can choose a response ID for a particular selection. The value will be String.

OfferID: This is a required field. Provide the shopping response’s offer ID for the selected deal. The value will be String.

  • Passenger: This is an Array.

Note: This is a required field. Passenger list must have at least one adult. Infant object count should be less than or equal to adult count. Total passenger count should be less than or eqaul to 9.

  • PassengerID: Provide the passenger ID assigned to you. Valid values are T1, T2, and T3. The value will be String.

  • PTC: Provide the passenger type. Valid values are ADT, CHD, and INF. The value will be String.


TraceId: Provide the Trace ID. This is a String value.

Request URL

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

Request Body Sample

{
    "OfferPriceRQ": {
        "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": "1620222081937399839",
        "Query": {
            "Offer": [
                {
                    "OfferID": "151711620222089401678730"
                }
            ]
        },
        "DataLists": {
            "PassengerList": {
                "Passenger": [
                    {
                        "PassengerID": "T1",
                        "PTC": "ADT"
                        
                    }
                ]
            }
        },
        "MetaData": {
            "TraceId": "161777799749"
        }
    }
}

Response Sample

{
    "OfferPriceRS": {
        "Document": {
            "Name": "Clarity NDC GATEWAY",
            "ReferenceVersion": "1.2"
        },
        "Party": {
            "Sender": {
                "TravelAgencySender": {
                    "Name": "EXTERNAL API TESTING AGENCY",
                    "IATA_Number": "",
                    "AgencyID": "EXTERNAL API TESTING AGENCY",
                    "Contacts": {
                        "Contact": [
                            {
                                "EmailContact": "ba.laqaems@gmail.com"
                            }
                        ]
                    }
                }
            }
        },
        "ShoppingResponseId": "1620222081937399839",
        "OfferResponseId": "1626689482593402193",
        "Errors": {
            "Error": {
                "ShortText": "EXIPRE_SHOPPPING_RES_ID",
                "Code": 25,
                "Value": "Invalid Shopping Response Id or Shopping Response was expired"
            }
        }
    }
}

Try it out!