Skip to content

All rooms

In a few installations it is necessary to know all rooms by room number.

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 all rooms for a certain period.

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

Operationcode: ALLROOMS

ALLROOMS

Direction

SIHOT.PMS ← SIHOT.WEB

Message

<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-DOCUMENT>
        <OC>ALLROOMS</OC>
        <ID>1</ID>
        <TN>1</TN>
        <FROM>2012-08-01</FROM>
        <TO>2012-08-10</TO>
        <SCOPE>DESC</SCOPE>
</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 Optional

Response

<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-DOCUMENT>
        <OC>ALLROOMS</OC>
        <RC>0</RC>
        <CATLIST>
                <CAT>
                        <NAME>EZ</NAME>
                        <ROOMLIST>
                                <ROOM>
                                        <RN>100</RN>
                                        <DESC>
                                                <DE>Einzelzimmer mit Minibar im ersten Stock</DE>
                                                <EN>Single room with 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 Error building answer
2 Invalid FROM or TO date At least one of the dates received in <FROM> or <TO> was invalid
3 FROM is larger than TO The <FROM> date lies after the <TO> date