Skip to content

Free rooms

In a few installations it is necessary to know the free rooms by room number in detail. This happens if you manage e.g. several different apartments in SIHOT and the guest should be able to choose a certain apartment.

Therefore the systems can request a list of available rooms for a certain period.

The reservation has to be done also for the requested room number.

Operationcode: FREEROOMS

FREEROOMS

Direction

SIHOT.PMS ← SIHOT.WEB

Message

<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-DOCUMENT>
        <OC>FREEROOMS</OC>
        <ID>1</ID>
        <TN>1</TN>
        <FROM>2012-08-01</FROM>
        <TO>2012-08-10</TO>
        <SCOPE>DESC</SCOPE>
        <ROOM></ROOM>
</SIHOT-DOCUMENT>

Attributes Message

Attribute Description Data type Usage
ID Hotel number Long Mandatory
FROM Start date for the request Date Mandatory
TO End date for the request Date Mandatory
SCOPE Certain requests contain a scope for the request. Usually those are:
DESC String String Optional
ROOM Optional the ROOM tag can be used to request if just one specific room is available. String Optional

Response

<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-DOCUMENT>
    <OC>FREEROOMS</OC>
    <RC>0</RC>
    <CATLIST>
        <CAT>
            <NAME>EZ</NAME>
            <ROOMLIST>
                <ROOM>
                    <RN>100</RN>
                    <DESC>
                        <DE>Einzelzimmer mit Klima  Minibar im ersten Stock</DE>
                        <EN>Single room with AC minibar at first floor</EN>
                    </DESC>
                </ROOM>
                <ROOM>
                    <RN>101</RN>
                    <DESC>
                        <DE>Einzelzimmer mit Klima  Minibar im ersten Stock</DE>
                        <EN>Single room with AC minibar at first floor</EN>
                    </DESC>
                </ROOM>
            </ROOMLIST>
        </CAT>
        <CAT>
            <NAME>DZ</NAME>
            <ROOMLIST>
                <ROOM>
                    <NR>200</NR>
                    <DESC>
                        <DE>Doppelzimmer</DE>
                        <EN>Double room</EN>
                    </DESC>
                </ROOM>
                <ROOM>
                    <NR>201</NR>
                    <DESC>
                        <DE>Doppelzimmer</DE>
                        <EN>Double room</EN>
                    </DESC>
                </ROOM>
            </ROOMLIST>
        </CAT>
    </CATLIST>
</SIHOT-DOCUMENT>

Attributes Response

Attribute Description Data type
CATLIST List of categories
CAT One tag for each category String
ROOMLIST List of available rooms
ROOM One tag for each room
RN Room number String
DESC description for this room String

RC Codes

RC MSG Description
0 Empty All right
1 Invalid FROM or TO date At least one of the dates received in <FROM> or <TO> was invalid
2 FROM is larger than TO The date lies after the <TO> date