Minimum Content Sample

Minimum Content XML

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

<OTA_HotelResNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05" Version="1.0" EchoToken="abc-123" TimeStamp="2018-05-04T19: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

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>