Skip to content

OTA_HotelResNotifRQ

This request is pushing reservations to you

You can not send the OTA_HotelResNotifRQ to the system, the system will send it to you once you configured the reservation push in the OpenTravel connection in the connectivity configuration.

Reservations are already confirmed

The reservations that are pushed to you are already confirmed to the end-user. If you accept or do not accept the request, your system fails or is unreachable, the system will try to deliver reservation again at a later time.

Once a reservation or booking is made in the system and the property is connected through the OpenTravel API, the reservation will be queued for delivery to the configured endpoint. The delivery will be done immediately after the reservation was confirmed to the consumer or end-user. The delivery of the reservation however will not block the reservation or booking process for the end-user.

<?xml version="1.0"?>
<soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header>
        <AccessHeader>
            <UserName>MyUserName</UserName>
            <Password>MyPassword</Password>
        </AccessHeader>
    </soap:Header>
    <soap:Body>
        <OTA_HotelResNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05" 
            Version="1.0" EchoToken="hulapalu" ResStatus="Commit" 
            TimeStamp="2021-09-03T14:17:28.1597969+02:00">
            <HotelReservations>
                ...
            </HotelReservations>
        </OTA_HotelResNotifRQ>
    </soap:Body>
</soap:Envelope>

The HotelReservations node will contain a single HotelReservation node with the booking or reservation made in the format of a HotelReservation element.

Required response contents

The system expects the endpoint to return a SOAP message indicating the success or failure of the delivery of the reservation or booking record and the reservation record locator created.

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <OTA_HotelResNotifRS xmlns="http://www.opentravel.org/OTA/2003/05" 
            Version="1.0" TimeStamp="2021-01-01T09:30:47+02:00" 
            EchoToken="hulapalu">
            <Success />
            <HotelReservations>
                <HotelReservation>
                    <UniqueID Type="14" ID="4711" />
                    <ResGlobalInfo>
                        <HotelReservationIDs>
                            <HotelReservationID 
                                ResID_Type="14" 
                                ResID_Value="4711" />
                        </HotelReservationIDs>
                    </ResGlobalInfo>
                </HotelReservation>
            </HotelReservations>
        </OTA_HotelResNotifRS>
    </soap:Body>
</soap:Envelope>