OTA_HotelResModifyRQ/RS

OTA_HotelResModifyRQ

The OTA_HotelresModifyRQ is the answer from the PMS to The OTA_ResRetrieveRS. With this response the status in the channel manager will be set to 'retrieved' and it will not be returned to the PMS unless a specific request is sent from the PMS to the channel manager.

Example 1: "Reservation level"

<?xml version="1.0" encoding="utf-8"?>
<OTA_HotelResModifyRQ EchoToken="Example123" PrimaryLangID="eng" Target="Production" TimeStamp="2018-07-29T07:38:54.729Z" Version="1.0">
  <POS>
    <Source>
      <RequestorID ID="APIKEY" MessagePassword="APIPASSWORD"/>
    </Source>
  </POS>
  <HotelResModifies>
    <HotelResModify ResStatus="Commit">
      <ResGlobalInfo>
        <BasicPropertyInfo HotelCode="12345" />
        <HotelReservationIDs>
          <HotelReservationID ResID_Value="123456" ResID_Type="14" />
        </HotelReservationIDs>
      </ResGlobalInfo>
    </HotelResModify>
  </HotelResModifies>
</OTA_HotelResModifyRQ>

Example 2: "Room stay level"

<?xml version="1.0" encoding="utf-8"?>
<OTA_HotelResModifyRQ EchoToken="Example123" PrimaryLangID="eng" Target="Production" TimeStamp="2018-07-29T07:38:54.729Z" Version="1.0">
  <POS>
    <Source>
      <RequestorID ID="APIKEY" MessagePassword="APIPASSWORD"/>
    </Source>
  </POS>
  <HotelResModifies>
    <HotelResModify ResStatus="Commit">
      <RoomStays>
        <RoomStay IndexNumber="123" />
      </RoomStays>
      <ResGlobalInfo>
        <BasicPropertyInfo HotelCode="12345" />
        <HotelReservationIDs>
          <HotelReservationID ResID_Value="123456" ResID_Type="14" />
        </HotelReservationIDs>
      </ResGlobalInfo>
    </HotelResModify>
  </HotelResModifies>
</OTA_HotelResModifyRQ>
Element / @Attribute Parent Info Values Occurrence
HotelResModifies OTA_HotelResModifyRQ A collection of reservations to be modified. Full structure of a hotel reservation modification. 1
HotelResModify HotelResModifies The reservation to commit. 1..n
@ResStatus HotelResModify Indicates the status of the reservation. Commit
Request Denied
1
RoomStays HotelResModify The optional collection of room stays for which the modification should be made. If omitted, modifications will be made on the entire reservation. 0..1
RoomStay RoomStays Details on the Room Stay. One RoomStays element can contain multiple RoomStay elements. 1..n
@IndexNumber RoomStay Number of the room stay within the RoomStays collection. 1
ResGlobalInfo HotelResModify ResGlobalInfo is a container for various information that affects the Reservation as a whole. These include global comments, counts, reservation IDs, loyalty programs, and payment methods. 1
BasicPropertyInfo ResGlobalInfo Property information for the reservation. An abbreviated short summary of hotel descriptive information. 1
@HotelCode BasicPropertyInfo The ID of the hotel. [integer] 1
HotelReservationIDs ResGlobalInfo A Collection of HotelReservationID objects for a given reservation. 1
HotelReservationID HotelReservationIDs The HotelReservationID object contains various unique (ReservationID) identifiers that the trading partners associate with a given reservation. 1
@ResID_Value HotelReservationID The ID of the reservation. [integer] 1
@ResID_Type HotelReservationID Defines the type of Reservation ID. 14 = Reservation 1

OTA_HotelResModifyRS

This is the response message for the reservation commit.

<?xml version="1.0" encoding="utf-8"?>
<OTA_HotelResModifyRS EchoToken="Example123" PrimaryLangID="eng" Target="Production" TimeStamp="2018-07-29T07:38:54.729Z" Version="1.0">
  <Success />
  <HotelResModifies>
    <HotelResModify ResStatus="Commit">
      <ResGlobalInfo>
        <BasicPropertyInfo HotelCode="12345" />
        <HotelReservationIDs>
          <HotelReservationID ResID_Value="123456" ResID_Type="14" />
        </HotelReservationIDs>
      </ResGlobalInfo>
    </HotelResModify>
  </HotelResModifies>
</OTA_HotelResModifyRS>
Element / @Attribute Parent Info Values Occurrence
HotelResModifies OTA_HotelResModifyRS A collection of reservations which have been modified. Full structure of a hotel reservation modification. 1
HotelResModify HotelResModifies The reservation that was committed. 1..n
@ResStatus HotelResModify Indicates the status of the reservation. Commit
Request Denied
1
ResGlobalInfo HotelResModify ResGlobalInfo is a container for various information that affects the Reservation as a whole. These include global comments, counts, reservation IDs, loyalty programs, and payment methods. 1
BasicPropertyInfo ResGlobalInfo Property information for the reservation. An abbreviated short summary of hotel descriptive information. 1
@HotelCode BasicPropertyInfo The ID of the hotel. [integer] 1
HotelReservationIDs ResGlobalInfo A Collection of HotelReservationID objects for a given reservation. 1
HotelReservationID HotelReservationIDs The HotelReservationID object contains various unique (ReservationID) identifiers that the trading partners associate with a given reservation. 1
@ResID_Value HotelReservationID The ID of the reservation. [integer] 1
@ResID_Type HotelReservationID Defines the type of Reservation ID. 14 = Reservation 1