Hotel.getProperties | Previo API

Hotel.getProperties

Returns amenities of the hotel 

Parameters

Name Description
login Username
password Password
hotId Hotel ID
lanId Language ID

Sample request

<request>
    <login>Username</login>
    <password>password</password>
    <hotId>45698754</hotId>
    <lanId>1</lanId>
</request>

Output

<properties> [1]  
 
<property> [0..*] Hotel attribute
 
<hopId> [1] Attribute ID
<name> [1] Attribute name
<attribute> [0..*] Specific information about attribute
 
<praId> [1] Specification ID
<name> [1] Specification name
<value> [0..1] Value of specification
<type> [1] Value type of specification
<openingHours>[0..1] Opening hours of hotels reception
 
<day>[0..*]  
 
<dayOfWeek>[1] Day of week - 0 (Sunday) - 6 (Saturday) 
<name>[1] Name of day in week
<interval>[1..2] Opening hour interval
 
<from>[1] Time from in hh:mm format
<to>[1] Time to in hh:mm format

Possible values for specifying atributes

<praId> <name> <value> Meaning of specification Hotel ammenities which use this specific attribute
1 distance
  • 0 => ammenity is in the hotel
  • value => ammenity is in (number) distance from the hotel
  • no value => ammenity is not in hotel and distance is not specified
Ammenity is in hotel Swimming pool - indoor, Swimming pool - outdoor, Table tennis, Sauna, Fitness, Bowling, Squash/ricochet, Night club, Health care center, Restaurant, Bar, Shopping center, Ski lift, DVD rental, Disco, Beach-volleyball court, Children´s playgroun, Table tennis, Parking, Gym/sports hall, Minigolf, Bike rental, Pizzeria, Cinema, Theatre, Billiard, Wine bar, Café, Exchange office, Aerobics, Sports equipment rental, Golf, Golf simulator, Darts, Scuba diving, Shooting range, Mountaineering, Ski rental, Solarium, Casino, Wellness/spa, Steam sauna, Whirlpool, Massages, Hairdresser/beauty salon, Outdoor seating, Lobby bar, Candy store, Wine cellar, Bearhouse, Internet café, Snack bar, Ski storage room, Bus stop, Train station, Tram stop, Airport, Tepidarium, Salt chamber, Yoga, Bath, Park
2 pricing
  • 0 => ammenity is free of charge
  • value => ammenity coscs (number)
  • no value => ammenity is not free of charge but the price is not specified
Service/ammenity is free of charge Laundry service, Safe, Pets, Parking, Internet, Guide, Offices for rent, Hotel transportation, Secretarial services, Internet corner
3 supervised [1 | 0] Place is guarded Parking
4 hotelOrRoom [1 | 0] Service/ammenity is available in room (1) or somewhere else in hotel (0) Safe, Internet
5 capacity text Room capacity Conference/public room, Lecture hall
6 details text Detailed information Parking
7 breakfastFrom text Breakfast from Parking, Restaurant
8 breakfastTo text Breakfast until Restaurant
9 lunchFrom text Lunch from Restaurant
10 lunchTo text Lunch until Restaurant
11 dinnerFrom text Dinner from Restaurant
12 dinnerTo text Dinner until Restaurant
13 openingHours text Opening hours Restaurant, Bar, Lobby bar, Snack bar, Wine bar, Café, Internet café
14 dimensions text Dimensions Swimming pool - indoor, Swimming pool - outdoor
15 temperature text Temperature Swimming pool - indoor, Swimming pool - outdoor
16 counterflow 1 | 0 Counterflow Swimming pool - indoor, Swimming pool - outdoor
17 sanitaryDay text Sanitary day Swimming pool - indoor, Swimming pool  - outdoor

 


Sample output

<properties>
    <property>
       <hopId>37</hopId>
       <name>Internet</name>
       <attribute>
          <praId>4</praId>
          <name>hotelOrRoom</name>
          <value>1</value>
          <type>boolean</type>
       </attribute>
       <attribute>
          <praId>2</praId>
          <name>pricing</name>
          <value>0</value>
          <type>text</type>
       </attribute>
    </property>
    <property>
       <hopId>32</hopId>
       <name>Parkoviště</name>
       <attribute>
          <praId>3</praId>
          <name>supervised</name>
          <value>0</value>
          <type>boolean</type>
       </attribute>
       <attribute>
          <praId>2</praId>
          <name>pricing</name>
          <value>100</value>
          <type>text</type>
       </attribute>
       <attribute>
          <praId>1</praId>
          <name>distance</name>
          <value>350m</value>
          <type>text</type>
       </attribute>
    </property>
    <property>
       <hopId>51</hopId>
       <name>Nekuřácké prostředí</name>
    </property>
</properties>