Skip to content

Room Status

The external system can send a room status to be displayed in SIHOT. This can be a technical status (50-98) or the state of cleaning as defined in SIHOT (0-49).

Operationcode: RST

RST

Direction

IF Partner → SIHOT

Message

This is a room status that was entered in the PBX:

<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
  <TN>4767</TN>
  <OC>RST</OC>
  <HN>4711</HN>
  <PH>1118</PH>
  <STAT>5</STAT>
  <OPID>625</OPID>
  <BD>2005-01-26T13:20:00</BD>
  <SRC>PBX</SRC>
</SIHOT-Document>

Attributes Message

Attribute Denotation Type
OC Action Type:
RST = Room Status
String
PH Phone extension where the room status was entered uns. Int
STAT The actual status can be in the range of 0 to 99 uns. Int
OPID ID of the Operator String
BD Business date, when the message was originally cerated by the interface. String
SRC Origin of the room status message String

Notes:

It is also possible to use the <RN> tag but this is only to be used if the room status was entered in a device that uses room numbers instead of phone extensions like a Pay-TV system. Technical statuses will be added up until the status 99 is received. So the user will see that e.g. the light bulb and the sink are broken. Once the status 99 is received, all technical statuses will be removed.

Response

The answer could look like:

<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
  <TN>4767</TN>
  <OC>ACK</OC>
  <RC>0</RC>
</SIHOT-Document>

Attributes Response

See for more information

Example

This is a room status that was entered in the Pay-TV system. Since there is no <BD> tag transmitted, we use the current date and time.

<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
  <TN>4768</TN>
  <OC>RST</OC>
  <HN>4711</HN>
  <RN>118</RN>
  <STAT>5</STAT>
  <OPID>625</OPID>
  <SRC>PTV</SRC>
</SIHOT-Document>

The answer could look like:

<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
  <TN>4768</TN>
  <OC>ACK</OC>
  <RC>0</RC>
</SIHOT-Document>