Minimum Content XML Sample

Note

The minimum content XML sample is for reference purposes, and reflects the technical minimum amount of data that could be provided by SMX. It is, however, unlikely that a reservation with such minimal content will be received.

Minimum Content XML

<OTA_HotelResNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05" Version="1" EchoToken="abc-123" TimeStamp="2006-05-04T18:13:51.0+0000">
    <HotelReservations>
        <HotelReservation ResStatus="Reserved" CreateDateTime="2018-05-04T19:32:04Z">
            <POS>
                <Source>
                    <RequestorID ID="PMSPUBLISHER"/>
                </Source>
            </POS>
            <UniqueID ID="123456789"/>
            <RoomStays>
                <RoomStay>
                    <TimeSpan Start="2017-09-05" End="2017-09-06"/>
                </RoomStay>
            </RoomStays>
            <ResGlobalInfo>
                <TimeSpan Start="2017-09-05" End="2017-09-06"/>
                <Total AmountAfterTax="200.00"/>
                <!-- May be AmountBeforeTax -->
                <BasicPropertyInfo HotelCode="10107"/>
            </ResGlobalInfo>
        </HotelReservation>
    </HotelReservations>
</OTA_HotelResNotifRQ>

Minimum Content XML - Reservation Cancellation

Warning

In scenarios where the original reservation message was not processed by the reservation publisher, it is possible to receive the following as an "initial cancellation" message.

<OTA_HotelResNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05" Version="1" EchoToken="abc-123" TimeStamp="2018-09-20T07:55:07Z">
    <HotelReservations>
        <HotelReservation ResStatus="Cancelled" CreateDateTime="2018-05-04T19:32:04Z" LastModifyDateTime="2018-09-20T07:55:04Z">
            <POS>
                <Source>
                    <RequestorID ID="PMSPUBLISHER"/>
                </Source>
            </POS>
            <UniqueID ID="123456789"/>
            <ResGlobalInfo>
                 <BasicPropertyInfo HotelCode="10107"/>
            </ResGlobalInfo>
        </HotelReservation>
    </HotelReservations>
</OTA_HotelResNotifRQ>
Last Updated: 5/2/2019, 3:16:14 PM