PMS pulls a single new reservation from PmsXchange and confirms that it was successfully processed.
PMS sends OTA_ReadRQ message to PmsXchange requesting undelivered reservations.
PmsXchange responds with OTA_ResRetrieveRS containing a single new reservation.
PMS successfully processes the retrieved reservation
PMS sends OTA_NotifReportRQ confirming the reservation was successfully processed
PmsXchange returns an OTA_NotifReportRS in reply
Exchange 1
OTA_ReadRQ
PMS requests undelivered reservations from PmsXchange
<OTA_ReadRQ xmlns="http://www.opentravel.org/OTA/2003/05" Version="1.0" EchoToken="echo"> <ReadRequests> <HotelReadRequest HotelCode="ABC"> <SelectionCriteria SelectionType="Undelivered"/> </HotelReadRequest> </ReadRequests> </OTA_ReadRQ>
OTA_ResRetrieveRS
PmsXchange returns one reservation. A new reservation is indicated by the ResStatus attribute value being set to "Book".
In the example below:
The attribute UniqueID/@ID shows the reservation's unique identifier as assigned by PmsXchange - "WTF-123456"
The attribute HotelReservationID/@ResID_Value holds the original reservation id from the booking source, eg: booking.com, wotif.com - "123456"
<OTA_ResRetrieveRS xmlns="http://www.opentravel.org/OTA/2003/05" Version="1.0" TimeStamp="2010-01-01T12:00:00.0Z" EchoToken="echo"> <Success/> <ReservationsList> <HotelReservation CreateDateTime="2010-01-01T12:00:00" ResStatus="Book"> <UniqueID Type="14" ID="WTF-123456"/> <!-- RESERVATION DETAIL OMITTED --> <ResGlobalInfo> <HotelReservationIDs> <HotelReservationID ResID_Type="14" ResID_Value="123456"/> </HotelReservationIDs> </ResGlobalInfo> </HotelReservation> </ReservationsList> </OTA_ResRetrieveRS>
Exchange 2
OTA_NotifReportRQ
PMS confirms that reservation WTF-123456 was successfully processed and has been assigned a PMS reservation id of "PMS-1234567".
<OTA_NotifReportRQ xmlns="http://www.opentravel.org/OTA/2003/05" Version="1.0" EchoToken="echo"> <Success/> <NotifDetails> <HotelNotifReport> <HotelReservations> <HotelReservation CreateDateTime="2010-01-01T12:00:00" ResStatus="Book"> <UniqueID Type="14" ID="WTF-123456"/> <ResGlobalInfo> <HotelReservationIDs> <HotelReservationID ResID_Type="14" ResID_Value="PMS-1234567"/> </HotelReservationIDs> </ResGlobalInfo> </HotelReservation> </HotelReservations> </HotelNotifReport> </NotifDetails> </OTA_NotifReportRQ>
OTA_NotifReportRS
PmsXchange indicates that the processing confirmation has been acknowledged.
<OTA_NotifReportRS xmlns="http://www.opentravel.org/OTA/2003/05" Version="1.0" EchoToken="echo"> <Success/> </OTA_NotifReportRS>