OTA_HotelReadResRQ

This message should be used by the Client system to post a request to read information about a confirmed or canceled reservation from Hotel Trader for the specified reservation. This API allows clients to fetch the reservation details using:

  1. HT Confirmation Code
  2. Client Confirmation Code

XML Description

OTA_HotelReadResRQ with HT Confirmation Code

Parameter Data Type Mandatory? Number of occurrences Description
xmlns URL Yes 1 -
EchoToken String Yes -
TimeStamp - Yes 1 -
Version - Yes 1 -
HtConfirmationCode Object Yes 1 See below

HtConfirmationCode

Parameter Data Type Mandatory? Number of occurrences Description
HtConfirmationCode Object Yes 1 The Hotel Trader Confirmation Code, used at the time of making the reservation that you want to get details of.

Example: Request to find reservation using HT Confirmation Code

<soap:Envelope xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:a="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header>
        <wsse:Security>
            <wsse:UsernameToken>
                <wsse:Username>ht-test</wsse:Username>
                <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">Password01#</wsse:Password>
            </wsse:UsernameToken>
        </wsse:Security>
    </soap:Header>
    <soap:Body>
        <OTA_HotelReadResRQ EchoToken="ab3edd47-fa8e-4f45-8a70-10324b560250" TimeStamp="2024-04-13T04:20:24.624Z" Version="1.003" xmlns="http://www.opentravel.org/OTA/2003/05">
            <HtConfirmationCode>HT-ZLXMDM</HtConfirmationCode>
        </OTA_HotelReadResRQ>
    </soap:Body>
</soap:Envelope>

OTA_HotelReadResRQ with Client Confirmation Code

Parameter Data Type Mandatory? Number of occurrences Description
xmlns URL Yes 1 -
EchoToken String Yes -
TimeStamp - Yes 1 -
Version - Yes 1 -
ClientConfirmationCode Object Yes 1 See below

ClientConfirmationCode

Parameter Data Type Mandatory? Number of occurrences Description
ClientConfirmationCode Object Yes 1 The Client Confirmation Code, that was provided at the time of making the reservation of which you want to get details.

Example: Request to find reservation using Client Confirmation Code

<soap:Envelope xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:a="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header>
        <wsse:Security>
            <wsse:UsernameToken>
                <wsse:Username>ht-test-client</wsse:Username>
                <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">Password01#</wsse:Password>
            </wsse:UsernameToken>
        </wsse:Security>
    </soap:Header>
    <soap:Body>
        <OTA_HotelReadResRQ EchoToken="ab3edd47-fa8e-4f45-8a70-10324b560250" TimeStamp="2024-04-13T04:20:24.624Z" Version="1.003" ResStatus="Commit" xmlns="http://www.opentravel.org/OTA/2003/05">
            <ClientConfirmationCode>tc-13032028</ClientConfirmationCode>
        </OTA_HotelReadResRQ>
    </soap:Body>
</soap:Envelope>

Response

An OTA_HotelReadResRS is returned in case of success and error. See here for more details.