PMS requests undelivered reservations from PmsXchange
<OTA_ReadRQ xmlns="http://www.opentravel.org/OTA/2003/05" Version="1.0" TimeStamp="2005-08-01T09:30:47+08:00" EchoToken="echo-abc123"> <ReadRequests> <HotelReadRequest HotelCode="ABC"> <SelectionCriteria SelectionType="Undelivered" ResStatus="Book"/> </HotelReadRequest> </ReadRequests> </OTA_ReadRQ> |
PmsXchange returns 2 new reservations.
In the example below:
<OTA_ResRetrieveRS xmlns="http://www.opentravel.org/OTA/2003/05" Version="1.0" TimeStamp="2005-08-01T09:30:47+08:00" EchoToken="echo-abc123"> <Success/> <ReservationsList> <HotelReservation CreateDateTime="2010-01-01T12:00:00" ResStatus="Book"> <UniqueID Type="14" ID="WTF-123456"/> <UniqueID Type="16" ID="3102411" ID_Context="MESSAGE_UNIQUE_ID"/> <!-- RESERVATION DETAIL OMITTED --> <ResGlobalInfo> <HotelReservationIDs> <HotelReservationID ResID_Type="14" ResID_Value="123456"/> </HotelReservationIDs> </ResGlobalInfo> </HotelReservation> <HotelReservation CreateDateTime="2010-01-01T12:00:00" ResStatus="Book"> <UniqueID Type="14" ID="WTF-123457"/> <UniqueID Type="16" ID="3102432" ID_Context="MESSAGE_UNIQUE_ID"/> <!-- RESERVATION DETAIL OMITTED --> <ResGlobalInfo> <HotelReservationIDs> <HotelReservationID ResID_Type="14" ResID_Value="123457"/> </HotelReservationIDs> </ResGlobalInfo> </HotelReservation> </ReservationsList> </OTA_ResRetrieveRS> |
PMS confirms that both message "3102411" and "3102432" were successfully processed and and were assigned a PMS reservation ids of "PMS-1234567" and "PMS-1234568" respectively.
<OTA_NotifReportRQ xmlns="http://www.opentravel.org/OTA/2003/05" Version="1.0" TimeStamp="2005-08-01T09:30:47+08:00" EchoToken="echo-abc123"> <Success/> <NotifDetails> <HotelNotifReport> <HotelReservations> <HotelReservation CreateDateTime="2010-01-01T12:00:00" ResStatus="Book"> <UniqueID Type="16" ID="3102411"/> <ResGlobalInfo> <HotelReservationIDs> <HotelReservationID ResID_Type="14" ResID_Value="PMS-1234567"/> </HotelReservationIDs> </ResGlobalInfo> </HotelReservation> <HotelReservation CreateDateTime="2010-01-01T12:00:00" ResStatus="Book"> <UniqueID Type="16" ID="3102432"/> <ResGlobalInfo> <HotelReservationIDs> <HotelReservationID ResID_Type="14" ResID_Value="PMS-1234568"/> </HotelReservationIDs> </ResGlobalInfo> </HotelReservation> </HotelReservations> </HotelNotifReport> </NotifDetails> </OTA_NotifReportRQ> |
PmsXchange indicates that the processing confirmation has been acknowledged.
<OTA_NotifReportRS xmlns="http://www.opentravel.org/OTA/2003/05" Version="1.0" TimeStamp="2005-08-01T09:30:47+08:00" EchoToken="echo-abc123"> <Success/> </OTA_NotifReportRS> |