Hotel.getRoomKinds

Returns information on guest rooms. 

Parameters

Name Description
login Username
password Password
hotId Hotel ID
lanId Language ID (optional)

Sample request

<request>
    <login>prihlasovaci_jmeno</login>
    <password>heslo</password>
    <hotId>74856</hotId>
</request>

Output

The output of this function is identical to the output of the function Hotel.getObjectKinds. The only difference is that this function only returns information on guest rooms  with parameter obtId = 1 (guest room).

Sample output

<roomKinds>
    <objectKind>
        <obkId>94676</obkId>
        <obtId>1</obtId>
        <name>Dvoulůžkový</name>
        <description>&lt;p&gt;Moderní ubytování s příjemnou postelí.&lt;/p&gt;</description>
        <numOfBeds>2</numOfBeds>
        <numOfExtraBeds>0</numOfExtraBeds>
        <singleUse>true</singleUse>
        <objects>
            <object>
                <objId>784061</objId>
                <name>201</name>
            </object>
            <object>
                <objId>956606</objId>
                <name>202</name>
            </object>
        </objects>
        <properties>
            <proId>11</proId>
            <proId>17</proId>
        </properties>
    </objectKind>
    <objectKind>
        <obkId>94681</obkId>
        <obtId>1</obtId>
        <name>Apartmán</name>
        <description>&lt;p&gt;Útulný apartmán s výhledem.&lt;/p&gt;</description>
        <numOfBeds>4</numOfBeds>
        <numOfExtraBeds>0</numOfExtraBeds>
        <singleUse>false</singleUse>
        <objects>
            <object>
                <objId>784076</objId>
                <name>401</name>
            </object>
        </objects>
        <properties>
            <proId>3</proId>
            <proId>6</proId>
        </properties>
    </objectKind>
</roomKinds>