System.getHotelTypes | Previo API

System.getHotelTypes

Global list of codes for hotel types. 

Each hotel selects only one of the following types from the code list. Selected hotel type can be retrieved through the element hoyId of the function Hotel.get.

Code list - Version as of 9th July 2014

ID Name
1 Hotel
2 Pension
3 Hostel
4 Other
5 Motel
6 Recreational centre
7 Apartment
8 Campsite
9 Spa hotel
10 Chalet
11 Cottage
12 Bungalow
13 Accommodation only
14 Villa
15 Mountain hotel
16 Independent hotel
17 Private
18 Lodge / dormitory
19 Studio

Parameters

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

Sample request

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

Output

<hotelTypes> [1]  
 
<type> [1..*]  
 
<hoyId> [1] Hotel type ID
<name> [1] Hotel type name

Sample output

<hotelTypes>
    <type>
        <hoyId>1</hoyId>
        <name>Hotel</name>
    </type>
    <type>
        <hoyId>2</hoyId>
        <name>Pension</name>
    </type>
    <type>
        <hoyId>3</hoyId>
        <name>Hostel</name>
    </type>
    <type>
        <hoyId>4</hoyId>
        <name>Ostatní</name>
    </type>
    <type>
        <hoyId>5</hoyId>
        <name>Motel</name>
    </type>
    <type>
        <hoyId>6</hoyId>
        <name>Rekreační zařízení</name>
    </type>
    <type>
        <hoyId>7</hoyId>
        <name>Apartmán</name>
    </type>
    <type>
        <hoyId>8</hoyId>
        <name>Kemp</name>
    </type>
    <type>
        <hoyId>9</hoyId>
        <name>Spa hotel (lázně)</name>
    </type>
    <type>
        <hoyId>10</hoyId>
        <name>Chata</name>
    </type>
    <type>
        <hoyId>11</hoyId>
        <name>Chalupa</name>
    </type>
    <type>
        <hoyId>12</hoyId>
        <name>Bungalov</name>
    </type>
    <type>
        <hoyId>13</hoyId>
        <name>Garni hotel</name>
    </type>
    <type>
        <hoyId>14</hoyId>
        <name>Vila</name>
    </type>
    <type>
        <hoyId>15</hoyId>
        <name>Horský hotel</name>
    </type>
    <type>
        <hoyId>16</hoyId>
        <name>Dependance hotel</name>
    </type>
    <type>
        <hoyId>17</hoyId>
        <name>Privat</name>
    </type>
    <type>
        <hoyId>18</hoyId>
        <name>Ubytovna</name>
    </type>
</hotelTypes>