Room Move
When a guest moves from one room to another, a RM record is sent so that all data connected to the guest (e.g. stored messages) can be moved from the old to the new room.
Operationcode: RM
RM
Direction
SIHOT → IF Partner
Message
This example shows a room move from 101 to 333. The guest-stay is identified by the unique number 538. The room 101 has the phone numbers 101 and 1101, the room 333 has the phone numbers 333 and 1333.
<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
  <TN>47123</TN>
  <OC>RM</OC>
  <HN>4711</HN>
  <RN>333</RN>
  <ORN>101</ORN>
  <PH0>00333</PH0>
  <OPH0>00101</OPH0>
  <PH1>01333</PH1>
  <OPH1>01101</OPH1>
  <PCIID>538</PCIID>
  <SF>N</SF>
  <ORG>disp_4711</ORG>
</SIHOT-Document>
Attributes Message
| Attribute | Denotation | Type | 
|---|---|---|
| OC | Action Type:RM = Room Move | String | 
| HN | Hotel number | uns. Long | 
| RN | Room number where the guest will stay | String | 
| ORN | Old Room Number where the guest stayed so far | String | 
| PH0 – PH4 | Phone numbers of the new roomNotes: 5 digits, right justified, leading 0With suites, PH can reach beyond PH4 | uns. Long | 
| OPH0 – OPH4 | Phone numbers of the old roomNotes: 5 digits, right justified, leading 0With suites, OPH can reach beyond OPH4 | uns. Long | 
| PCIID | Pre Check-In ID | uns. Long | 
| SF | Share flag. | char | 
| ORG | Origin, this is the identifier of the SIHOT workstation that processed this operation. | String | 
Response
The answer could look like:
<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
  <TN>47123</TN>
  <OC>ACK</OC>
  <RC>0</RC>
  <ORG>disp_4711</ORG>
</SIHOT-Document>
Attributes Response
Example 1 - Room move with multiple guest accounts in a room
Example of a room move with three guests in one room with a total of two guest accounts:
| Guest Acc. | Name | Guest Type | 
|---|---|---|
| 1 | Berger, Joerg | Client | 
| 2 | Conrad, Jochen | Guest | 
| 1 | Berger, Maribelle | Guest | 
Room move of the persons with the same account in the room:
<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
  <OC>RM</OC>
  <HN>4711</HN>
  <USERID>JPA</USERID>
  <WS>MARVIN</WS>
  <SF>Y</SF>
  <GID>471168</GID>
  <PCIID>538</PCIID>
  <RN>440</RN>
  <NR_FOR_THIS>440</NR_FOR_THIS>
  <KCID_FOR_THIS/>
  <ORN>430</ORN>
  <ONR_FOR_THIS>430</ONR_FOR_THIS>
  <OKCID_FOR_THIS/>
  <SALUTATION>Herr</SALUTATION>
  <TITLE>Dr.</TITLE>
  <SN>Berger</SN>
  <CN>Joerg</CN>
  <ARR>2021-12-14T18:00:00</ARR>
  <DEP>2021-12-17T12:00:00</DEP>
  <LN>DE</LN>
  <FIRST-Person>
    <GID>471168</GID>
    <PCIID>538</PCIID>
    <SALUTATION>Herr</SALUTATION>
    <TITLE>Dr.</TITLE>
    <SN>Berger</SN>
    <CN>Joerg</CN>
    <ARR>2021-12-14T18:00:00</ARR>
    <DEP>2021-12-17T12:00:00</DEP>
    <LN>DE</LN>
  </FIRST-Person>
  <SIHOT-Person>
    <GID>471169</GID>
    <PCIID>539</PCIID>
    <SALUTATION>Frau</SALUTATION>
    <TITLE/>
    <SN>Berger</SN>
    <CN>Maribelle</CN>
    <ARR>2021-12-14T18:00:00</ARR>
    <DEP>2021-12-17T12:00:00</DEP>
    <LN>FR</LN>
  </SIHOT-Person>
</SIHOT-Document>
Room move of the other person with his own account:
<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
  <OC>RM</OC>
  <HN>4711</HN>
  <USERID>JPA</USERID>
  <WS>MARVIN</WS>
  <SF>Y</SF>
  <GID>471168</GID>
  <PCIID>538</PCIID>
  <RN>440</RN>
  <NR_FOR_THIS>440</NR_FOR_THIS>
  <KCID_FOR_THIS/>
  <ORN>430</ORN>
  <ONR_FOR_THIS>430</ONR_FOR_THIS>
  <OKCID_FOR_THIS/>
  <ARR>2021-12-14T18:00:00</ARR>
  <DEP>2021-12-17T12:00:00</DEP>
  <PASSWD/>
  <FIRST-Person>
    <GID>471170</GID>
    <PCIID>540</PCIID>
    <SALUTATION>Herr</SALUTATION>
    <TITLE>Dr.</TITLE>
    <SN>Conrad</SN>
    <CN>Jochen</CN>
    <ARR>2021-12-14T18:00:00</ARR>
    <DEP>2021-12-17T12:00:00</DEP>
    <LN>DE</LN>
  </FIRST-Person>
</SIHOT-Document>
Example 2
Room move from one suite to another
<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
  <TN>47124</TN>
  <OC>RM</OC>
  <HN>4711</HN>
  <RN>310</RN>
  <ROOMSIMPLIED>
    <RN>311</RN>
    <RN>312</RN>
    <RN>313</RN>
  </ROOMSIMPLIED>
  <PH0>00311</PH0>
  <PH1>01311</PH1>
  <PH2>00312</PH2>
  <PH3>01312</PH3>
  <PH4>00313</PH4>
  <PH5>01313</PH5>
  <ORN>320</ORN>
  <ROOMSIMPLIED>
    <ORN>321</ORN>
    <ORN>322</ORN>
  </ROOMSIMPLIED>
  <OPH0>00321</OPH0>
  <OPH1>01321</OPH1>
  <OPH0>00322</OPH0>
  <OPH1>01322</OPH1>
  <PCIID>538</PCIID>
  <SF>N</SF>
  <ORG>disp_4711</ORG>
</SIHOT-Document>
It is also possible to move a guest from a suite to a “normal” room or vice versa. In these cases, the ROOMSIMPLIED tag is only present for the suite.