Skip to content

Check-Out

Operationcode: CO

CO

Direction

SIHOT → IF Partner

Message

This example shows a check out for room 101. At this moment, all cards are invalid.

<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
    <TN>4713</TN>
    <OC>CO</OC>
    <HN>4711</HN>
    <RN>101</RN>
    <PCIID>538</PCIID>
    <SF>Y</SF>
    <SN>Berger</SN>
    <CN>Joerg</CN>
    <LN>DE</LN>
    <SRC>SIHOT</SRC>
    <ORG>disp_4711</ORG>
</SIHOT-Document>

Attributes Message

Attribute Denotation Type
OC Action Type:
CO = Check-Out
String
HN Hotel number uns. Long
RN Room number where the guest will stay String
PCIID Pre Check-In ID uns. Long
SF Share flag. char
SN Last name of the guest String
CN First name of the guest String
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>4713</TN>
    <OC>ACK</OC>
    <RC>1</RC>
    <MSG>room not occupied</MSG>
    <ORG>disp_4711</ORG>
</SIHOT-Document>

Attributes Response

See for more information

Examples

Example 1 - SIHOT - one person

This is a request sent from the interface to SIHOT to check out a certain client from a multi bed room. The requirement of checking out a single person is that all guests of the concerning room have an own guest account. The account of the CO person has to be settled.

<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
    <TN>4713</TN>
    <OC>CO</OC>
    <HN>4711</HN>
    <PCIID>538</PCIID>
    <ENTIREROOM>0</ENTIREROOM>
</SIHOT-Document>

The answer could look like:

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

Example 2 - SIHOT – complete room

This is a request sent from the interface to SIHOT to check out an entire room. The requirement of checking out is that all guest accounts are settled.

<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
    <TN>4713</TN>
    <OC>CO</OC>
    <RN>101</RN>
    <HN>4711</HN>
    <PCIID>538</PCIID>
    <ENTIREROOM>1</ENTIREROOM>
</SIHOT-Document>

The answer could look like:

<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
    <TN>4713</TN>
    <OC>ACK</OC>
    <RC>1</RC>
    <MSG>room not occupied</MSG>
    <ORG>disp_4711</ORG>
</SIHOT-Document>