Skip to content

OTA_NotifReportRQ

The OTA_NotifReportRQ is entirely optional

You can provide your external record locator, but it is not necessary to do so if you do not indent to perform any further operations with it.

The reservation notification report request allows updating a previously retrieved reservation with the record locator of the external system that collected the reservation or booking.

<?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_NotifReportRQ EchoToken="hulapalu" 
            TimeStamp="2021-09-03T14:17:28.1597969+02:00" 
            Version="1" xmlns="http://www.opentravel.org/OTA/2003/05">
            <NotifDetails>
                <HotelNotifReport>
                    <HotelReservations>
                        <HotelReservation>
                            <UniqueID Type="14" 
                                ID="HVt81vPB8sM0Q9YudeHTQ6" 
                                ID_Context="CrsConfirmNumber" />
                            <ResGlobalInfo>
                                <HotelReservationIDs>
                                    <HotelReservationID 
                                        ResID_Type="10" 
                                        ResID_Value="40774706" 
                                        ResID_Source="PMS" 
                                        ResID_SourceContext="PmsConfirmNumber" />
                                    <HotelReservationID 
                                        ResID_Type="10" 
                                        ResID_Value="HVt81vPB8sM0Q9YudeHTQ6" 
                                        ResID_Source="CRS" 
                                        ResID_SourceContext="CrsConfirmNumber" />
                                </HotelReservationIDs>
                                <BasicPropertyInfo HotelCode="my-hotel-code" />
                            </ResGlobalInfo>
                        </HotelReservation>
                    </HotelReservations>
                </HotelNotifReport>
            </NotifDetails>
            <POS>
                <Source>
                    <RequestorID ID="my-hotel-code" />
                </Source>
            </POS>
        </OTA_NotifReportRQ>
    </soap:Body>
</soap:Envelope>

The UniqueID element contains the CrsConfirmNumber which is the interal reservation number of the booking blockchain and the same as the HotelReservationID node with the attribute ResID_SourceContext set to CrsConfirmNumber. The reservation record locator or id value provided in the ResID_Value field of the HotelReservationID with the attribute value PmsConfirmNumber is the external system's record locator or reservation id (Your channel manager or PMS). The latter will be stored in the existing booking as a reference to the external system.

Response contents

As there is not much to return, the response will only contain a <Success /> node when the operation to attach the external record locator was successful.

<?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_NotifReportRS EchoToken="hulapalu" Version="1" 
            TimeStamp="2021-09-29T20:32:32.192Z" PrimaryLangID="en-US" 
            xmlns="http://www.opentravel.org/OTA/2003/05">
            <Success />
        </OTA_NotifReportRS>
    </soap:Body>
</soap:Envelope>