Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Minimum Content XML

Info

The minimum content XML sample is for reference purposes only and it is an example of the minimum amount of data that your system could received receive from SMX.

Table of Contents

...

Code Block
languagexml
<OTA_HotelResNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05" Version="1.0" EchoToken="abc-123" TimeStamp="
2006
2018-05-
04T18
04T19:
13:51.0+0000
40:04Z">
    <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

Note

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.

Code Block
languagexml
<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>