Hotel.getStayPackages

Returns all accommodation packages. 

This function returns all required data to present accommodation packages. 

Parameters

Name Description
login Username
password Password
hotId Hotel ID
lanId Language ID in which you would like descriptions to be returned (optional)
currency Currency (optional parameter)

currency

Get stay packages in chosen currency. 

<currency> [0..1]  
 
<curId> [0..1] Currency ID
<code> [0..1] Currency code

Sample request

<request>
        <login>prihlasovaci_jmeno</login>
        <password>heslo</password>
        <hotId>745896</hotId>
        <lanId>2</lanId>
        <currency>
             <curId>1</curId>
             <code>CZK</code>
        </currency>
</request>

Output

<stayPackages> [1]  
 
<stayPackage> [0..*]  
 
<styId> [1] Package ID
<name> [1] Package name
<description> [1] Package description
<nights> [1] Number of nights
<note> [1] Notes
<galId> [1] Gallery ID which is assigned to the package
<includes> [1] Text description of what the package includes
<meaId> [1] Included board type ID
<unitId> [1] 1 - Price charged for all persons occupying the room / 2 - Price charged for one person occupying the room
<showOn> [1]
<web> [1] Displayed on reservation plus, value true/false
<vipPartners> [1]

Displayed for SPA.CZ, HOTEL.CZ, HOTELY.CZ partners, value true/false

<otherPartners> [1] Displayed for other partners - value true/false
<spaBusinessOnly> [1] Displayed on SPA.CZ business portal - hodnota true/false
<programs> [0..1]  
  <syrId> [0..*]
<packages> [0..1]  
 
<pckId> [0..*] List of available packages for upsale 
<arrivals> [1]  
 
<arrival> [0..*] Possible day of arrival
<seasons> [1]  
 
<season> [0..*]  
 
<term> [1]  
 
<from> [1] from
<to> [1] to
<prices> [1]  
 
<object> [0..*]  
 
<obkId> [1] Room type ID
<standardPrice> [1] Standard price
<price> [1] Current price
<currency> [1] Currency
 
<curId> [1] Currency ID
<code> [1] Currency code

Sample output

<stayPackages>
    <stayPackage>
        <styId>116</styId>
        <name>Welnes pobyt plus</name>
        <description>Příjemny pobyt</description>
        <nights>5</nights>
        <note>Pobyt je na 5 nocí</note>
        <galId>43936</galId>
        <includes>obsahuje všechny procedury co provádíme</includes>
        <meaId>4</meaId>
        <unitId>6</unitId>
        <sesons>
            <seson>
                <term>
                    <from>2013-01-03</from>
                    <to>2013-01-23</to>
                </term>
                <prices>
                    <object>
                        <obkId>1</obkId>
                        <standardPrice>2000</standardPrice>
                        <price>1500</price>
                    </object>
                    <object>
                        <obkId>2</obkId>
                        <standardPrice>2500</standardPrice>
                        <price>2000</price>
                    </object>
                    <object>
                        <obkId>118898</obkId>
                        <standardPrice>3500</standardPrice>
                        <price>3356</price>
                    </object>
                </prices>
            </seson>
            <seson>
                <term>
                    <from>2013-01-24</from>
                    <to>2013-01-30</to>
                </term>
                <prices>
                    <object>
                        <obkId>1</obkId>
                        <standardPrice>2000</standardPrice>
                        <price>1800</price>
                    </object>
                    <object>
                        <obkId>118898</obkId>
                        <standardPrice>3500</standardPrice>
                        <price>3499</price>
                    </object>
                </prices>
            </seson>
        </sesons>
    </stayPackage>
    .....
</stayPackages>