Skip to end of banner
Go to start of banner

Minimum Content Sample

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

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 from SMX.

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

<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>
  • No labels