Hotel.get
Returns detailed information about the hotel.
For information about several hotels at once, use the function Hotels.search.
Licence
Each hotel using Previo holds one of the following licences:
Id | Name | Description |
---|---|---|
2 | Pro | Full version |
3 | Lite | Limited version |
4 | Connect | Version limited to reservations via intermediaries |
Detailed information about differences between licences can be found in the price list.
Some hotels saved in the system may not be currently active. Previo API only returns information on active hotels.
Parameters
Name | Description |
---|---|
login | Username |
password | Password |
hotId | Hotel ID |
Sample request
<request> <login>prihlasovaci_jmeno</login> <password>heslo</password> <hotId>45698754</hotId> </request>
Output
<hotel> [1] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Sample output
<hotel> <hotId>1</hotId> <hoyId>8</hoyId> <bookOnline>1</bookOnline> <name>PREVIO Hotel</name> <address> <couId>1</couId> <regId>1</regId> <cotId>50</cotIdn> <towId>1</towId> <zipId>6662</zipId> <name>PREVIO Hotel</name> <street>Pod Viaduktem 2</street> <city>Praha</city> <zip>14000</zip> <country>Czech Republic</country> <phone> <number>+420 251 613 924</number> <number>+420 777 135 579</number> </phone> <mail> <address>tomas.holy@previo.cz</address> <address>ondrej.valek@previo.cz</address> </mail> </address> <owner> <name>Previo hotel s.r.o.</name> <street>Nedvězská 2223/29</street> <city>Praha 10</city> <zip>10000</zip> <country>1</country> <ico>25975234</ico> <dic>CZ25975234</dic> <phone> <number>+420 251 613 924</number> </phone> <mail> <address>ondrej.valek@previo.cz</address> </mail> </owner> <vatPayer>true</vatPayer> <collaboration> <status>active</status> <partnerBonusRate>6.7</partnerBonusRate> <previoBonusRate>3.3</previoBonusRate> <totalBonusRate>10</totalBonusRate> </collaboration> <url>demo.previo.cz</url> <license> <licId>2</licId> <name>pro</name> </license> <arrival>16:00:00</arrival> <departure>12:00:00</departure> <maxOnlineBookTime>18:00:00</maxOnlineBookTime> <locality> <lctId>5</lctId> <name>Plzeň</name> <countryCode>CZE</countryCode> </locality> <activity>0</activity> <!-- deprecated - zastarale - nyni vraci jedine 0 - pouzivejte prosim hodnotu elementu rating/total --> <gps> <lat>50.4942106293</lat> <lng>16.2542724609<lng> </gps> <accommodationTax> <price>4</price> <inAccommodationPrice>false</inAccommodationPrice> </AccommodationTax> <recreationTax> <price>10</price> <inAccommodationPrice>false</inAccommodationPrice> </recreationTax> <classification> <stars>*****</stars> <confirmed>true</confirmed> </classification> <rating> <bonusPercent>0</bonusPercent> <enquiryConversionRatio>0</enquiryConversionRatio> <extraPoints>0</extraPoints> <canvasAvailability>0</canvasAvailability> <paymentPractice>0</paymentPractice> <guestReviews>0</guestReviews> <priceDefinitions>0</priceDefinitions> <total>0</total> </rating> <properties> <property> <hopId>1</hopId> <onSite>false</onsite> <distance>0</distance> </property> <property> <hopId>3</hopId> </property> <property> <hopId>5</hopId> </property> <property> <hopId>6</hopId> <onSite>false</onSite> <distance>0</distance> </property> </properties> <languages> <language> <lanId>1</lanId> <code>cs</code> </language> <language> <lanId>2</lanId> <code>en</code> </language> <language> <lanId>4</lanId> <code>fr</code> </language> </languages> <currencies> <defaultCurrency> <curId>1</curId> <code>CZK</code> </defaultCurrency> <currency> <curId>1</curId> <code>CZK</code> </currency> <currency> <curId>2</curId> <code>EUR</code> </currency> </currencies> <creditCardTypes> <creditCardType> <crtId>5</crtId> <name>American Express</name> </creditCardType> <creditCardType> <crtId>11</crtId> <name>Solo</name> </creditCardType> </creditCardTypes> <descriptions> <openingHours>Any opening time needs 6-5 hours ..... attempt</openingHours> </descriptions> <conditions> <text><h2>1. Contracting parties </h2> <p> The contractual relationship between the visiting participants ('the customer') and the provider of accommodation <strong>_Previo TESTING</strong>, which is <strong>Pavel Kotas & MITON CZ</strong> ('the landlord') are governed by Civil and Commercial Code and is governed by these general conditions. The landlord reserves the right to specify in its sales materials other conditions and information, which will take precedence over these conditions.</p> <h2> 2. Prices and Changes </h2> <p> Guideline prices for accommodation and any other services provided for the Czech citizens are published in the presentation materials of the landlord (web pages, leaflets etc). For the customer, it is obligatory the price that is listed on the booking confirmation or e-mail offer ('the voucher).</ P> </text> </conditions> </hotel>