Check-In
The CI record is sent when a SIHOT guest account is activated. So if two persons share a room but they have only one account, there will be only one CI record sent. For each guest account another CI record is sent for this room (see Example 3 - Three guests, two guest accounts).
The block <SIHOT-Person>
contains data for the additional persons already checked-in in this room.
The block, <FIRST-Person>
, contains the data of the main person who is the account holder.
The block <FIRST-Person>
and the block <SIHOT-Person>
contain the block <GUEST-IDS>
if the guests have any, as in example 1.
Operationcode: CI
CI
Direction
SIHOT → IF Partner
Message
Example of a check in of one guest:
<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
<TN>4711</TN>
<OC>CI</OC>
<HN>4711</HN>
<USERID>JPA</USERID>
<WS>MARVIN</WS>
<SF>N</SF>
<GID>471168</GID>
<PCIID>538</PCIID>
<SALUTATION>Herr</SALUTATION>
<TITLE>Dr.</TITLE>
<SN>Berger</SN>
<CN>Joerg</CN>
<VIP/>
<TG>1A</TG>
<MC>A</MC>
<ARR>2020-05-31T13:20:00</ARR>
<DEP>2020-06-05T11:00:00</DEP>
<LN>DE</LN>
<RN>101</RN>
<PASSWD/>
<FIRST-Person>
<GID>471168</GID>
<PCIID>538</PCIID>
<SALUTATION>Herr</SALUTATION>
<TITLE>Dr.</TITLE>
<SN>Berger</SN>
<CN>Joerg</CN>
<VIP/>
<ARR>2020-05-31T13:20:00</ARR>
<DEP>2020-06-05T11:00:00</DEP>
<LN>DE</LN>
<GUEST-IDS>
<CARD>
<TYPE>TR</TYPE>
<NUMBER>0815</NUMBER>
</CARD>
</GUEST-IDS>
</FIRST-Person>
<PAY-TV>1</PAY-TV>
<PH0>00101</PH0>
<SRC>SIHOT</SRC>
<ORG>disp_4711</ORG>
</SIHOT-Document>
Attributes Message
Attribute | Denotation | Type |
---|---|---|
SF | Share flag. | char |
NOPAX | Number of persons for this room. | int |
Response
This could be the answer to the above operation:
<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
<TN>4711</TN>
<OC>ACK</OC>
<RC>0</RC>
<ORG>disp_4711</ORG>
</SIHOT-Document>
Attributes Response
Example
Example 1 - Two guests, one account
Example of a check in with two guests in a room with one account:
<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
<TN>4711</TN>
<OC>CI</OC>
<HN>4711</HN>
<USERID>JPA</USERID>
<WS>MARVIN</WS>
<SF>N</SF>
<GID>471168</GID>
<PCIID>538</PCIID>
<SALUTATION>Herr</SALUTATION>
<TITLE>Dr.</TITLE>
<SN>Berger</SN>
<CN>Joerg</CN>
<VIP/>
<ARR>2009-05-31T13:20:00</ARR>
<DEP>2009-06-05T11:00:00</DEP>
<LN>DE</LN>
<PASSWD/>
<FIRST-Person>
<GID>471168</GID>
<PCIID>538</PCIID>
<SALUTATION>Herr</SALUTATION>
<TITLE>Dr.</TITLE>
<SN>Berger</SN>
<CN>Joerg</CN>
<VIP/>
<ARR>2009-05-31T13:20:00</ARR>
<DEP>2009-06-05T11:00:00</DEP>
<LN>DE</LN>
</FIRST-Person>
<SIHOT-Person>
<GID>471169</GID>
<PCIID>798</PCIID>
<SALUTATION>Frau</SALUTATION>
<TITLE/>
<SN>Berger</SN>
<CN>Maribelle</CN>
<VIP/>
<ARR>2009-05-31T13:20:00</ARR>
<DEP>2009-06-05T11:00:00</DEP>
<LN>FR</LN>
</SIHOT-Person>
<TG>1A</TG>
<MC>A</MC>
<RN>101</RN>
<PAY-TV>1</PAY-TV>
<AN>5428768301</AN>
<PH0>00101</PH0>
<SRC>SIHOT</SRC>
<ORG>disp_4711</ORG>
</SIHOT-Document>
Example 2 - Two guests, two accounts
Example of a check in with two guests in one room with one account per guest:
Check in of the first guest in room:
<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
<TN>4711</TN>
<OC>CI</OC>
<HN>4711</HN>
<USERID>JPA</USERID>
<WS>MARVIN</WS>
<SF>Y</SF>
<GID>471168</GID>
<PCIID>538</PCIID>
<SALUTATION>Herr</SALUTATION>
<TITLE>Dr.</TITLE>
<SN>Berger</SN>
<CN>Joerg</CN>
<ARR>2020-05-31T13:20:00</ARR>
<DEP>2020-06-05T11:00:00</DEP>
<LN>DE</LN>
<PASSWD/>
<FIRST-Person>
<GID>471168</GID>
<PCIID>538</PCIID>
<SALUTATION>Herr</SALUTATION>
<TITLE>Dr.</TITLE>
<SN>Berger</SN>
<CN>Joerg</CN>
<ARR>2020-05-31T13:20:00</ARR>
<DEP>2020-06-05T11:00:00</DEP>
<LN>DE</LN>
</FIRST-Person>
<TG>1A</TG>
<MC>A</MC>
<RN>101</RN>
<PAY-TV>1</PAY-TV>
<AN>5888768301</AN>
<PH0>00101</PH0>
<SRC>SIHOT</SRC>
<ORG>disp_4711</ORG>
</SIHOT-Document>
Check in of the second guest in room with his own account:
<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
<TN>4711</TN>
<OC>CI</OC>
<HN>4711</HN>
<USERID>JPA</USERID>
<WS>MARVIN</WS>
<SF>Y</SF>
<GID>15987</GID>
<PCIID>539</PCIID>
<SALUTATION>Herr</SALUTATION>
<TITLE>Dr.</TITLE>
<SN>Conrad</SN>
<CN>Jochen</CN>
<ARR>2020-05-31T13:20:00</ARR>
<DEP>2020-06-05T11:00:00</DEP>
<LN>DE</LN>
<PASSWD/>
<FIRST-Person>
<GID>15987</GID>
<PCIID>539</PCIID>
<SALUTATION>Herr</SALUTATION>
<TITLE>Dr.</TITLE>
<SN>Conrad</SN>
<CN>Jochen</CN>
<ARR>2020-05-31T13:20:00</ARR>
<DEP>2020-06-05T11:00:00</DEP>
<LN>DE</LN>
</FIRST-Person>
<TG>1A</TG>
<MC>A</MC>
<RN>101</RN>
<PAY-TV>1</PAY-TV>
<AN>5888768302</AN>
<PH0>00101</PH0>
<SRC>SIHOT</SRC>
<ORG>disp_4711</ORG>
</SIHOT-Document>
Example 3 - Three guests, two guest accounts
Example of a check in with three guests in one room with a total of two accounts:
Guest Acc. | Name | Guest Type |
---|---|---|
1 | Berger, Joerg | Client |
2 | Conrad, Jochen | Guest |
1 | Berger, Maribelle | Guest |
Check in of the persons with the same account in the room:
<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
<OC>CI</OC>
<HN>4711</HN>
<USERID>JPA</USERID>
<WS>MARVIN</WS>
<SF>Y</SF>
<GID>471168</GID>
<PCIID>538</PCIID>
<SALUTATION>Herr</SALUTATION>
<TITLE>Dr.</TITLE>
<SN>Berger</SN>
<CN>Joerg</CN>
<ARR>2020-05-31T13:20:00</ARR>
<DEP>2020-06-05T11:00:00</DEP>
<LN>DE</LN>
<PASSWD/>
<FIRST-Person>
<GID>471168</GID>
<PCIID>538</PCIID>
<SALUTATION>Herr</SALUTATION>
<TITLE>Dr.</TITLE>
<SN>Berger</SN>
<CN>Joerg</CN>
<ARR>2020-05-31T13:20:00</ARR>
<DEP>2020-06-05T11: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>
<VIP/>
<ARR>2020-05-31T13:20:00</ARR>
<DEP>2020-06-05T11:00:00</DEP>
<LN>FR</LN>
</SIHOT-Person>
<TG>1A</TG>
<MC>A</MC>
<RN>101</RN>
<PAY-TV>1</PAY-TV>
<AN>5888768301</AN>
<PH0>00101</PH0>
<SRC>SIHOT</SRC>
<ORG>disp_4711</ORG>
</SIHOT-Document>
Check in of the other person with his own account in the room:
<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
<OC>CI</OC>
<HN>4711</HN>
<USERID>JPA</USERID>
<WS>MARVIN</WS>
<SF>Y</SF>
<GID>15987</GID>
<PCIID>540</PCIID>
<SALUTATION>Herr</SALUTATION>
<TITLE>Dr.</TITLE>
<SN>Conrad</SN>
<CN>Jochen</CN>
<ARR>2020-05-31T13:20:00</ARR>
<DEP>2020-06-05T11:00:00</DEP>
<LN>DE</LN>
<PASSWD/>
<FIRST-Person>
<GID>15987</GID>
<PCIID>540</PCIID>
<SALUTATION>Herr</SALUTATION>
<TITLE>Dr.</TITLE>
<SN>Conrad</SN>
<CN>Jochen</CN>
<ARR>2020-05-31T13:20:00</ARR>
<DEP>2020-06-05T11:00:00</DEP>
<LN>DE</LN>
</FIRST-Person>
<TG>1A</TG>
<MC>A</MC>
<RN>101</RN>
<PAY-TV>1</PAY-TV>
<AN>5888768302</AN>
<PH0>00101</PH0>
<SRC>SIHOT</SRC>
<ORG>disp_4711</ORG>
</SIHOT-Document>
Example 4 - When a suite is checked in
Example of a check in of a guest:
<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
<TN>4711</TN>
<OC>CI</OC>
<HN>4711</HN>
<PCIID>538</PCIID>
<SF>N</SF>
<SALUTATION>Herr</SALUTATION>
<TITLE>Dr.</TITLE>
<SN>Berger</SN>
<CN>Joerg</CN>
<TG>1A</TG>
<MC>A</MC>
<GID>471168</GID>
<ARR>2002-05-31T13:20:00</ARR>
<DEP>2002-06-05T11:00:00</DEP>
<LN>DE</LN>
<RN>100</RN>
<ROOMSIMPLIED>
<RN>101</RN>
<RN>102</RN>
</ROOMSIMPLIED>
<PASSWD/>
<FIRST-Person>
<GID>471168</GID>
<PCIID>538</PCIID>
<SALUTATION>Herr</SALUTATION>
<TITLE>Dr.</TITLE>
<SN>Berger</SN>
<CN>Joerg</CN>
<VIP/>
<ARR>2009-05-31T13:20:00</ARR>
<DEP>2009-06-05T11:00:00</DEP>
<LN>DE</LN>
</FIRST-Person>
<PAY-TV>1</PAY-TV>
<PH0>00101</PH0>
<PH1>00102</PH1>
<SRC>SIHOT</SRC>
<ORG>disp_4711</ORG>
</SIHOT-Document>
Example 5 - An Event room
Example of a check in of an event room in SIHOT.
<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
<TN>4711</TN>
<OC>CI</OC>
<HN>4711</HN>
<USERID>JPA</USERID>
<WS>MARVIN</WS>
<GID>471168</GID>
<PCIID>0</PCIID>
<SN>SIEMENS AG</SN>
<CN/>
<VIP/>
<ARR>2002-05-31T13:20:00</ARR>
<DEP>2002-06-05T11:00:00</DEP>
<LN>DE</LN>
<RN>WORLD</RN>
<ROOMSIMPLIED>
<RN>GALILEO</RN>
<RN>DAVINCI</RN>
</ROOMSIMPLIED>
<PH0>00901</PH0>
<SRC>SIHOT</SRC>
<ORG>disp_4711</ORG>
</SIHOT-Document>
Note:
<ROOMSIMPLIED>
can also be included here.<PCIID>
is always 0 for Events, because Events cannot be checked in in advance nor have a Voice Box before check in.