System.getStayPrograms | Previo API

System.getStayPrograms

Global list of codes for types of stay for accommodation packages. 

Returns all existing types of stay for accommodation packages. 

Parameters

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

Sample request

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

Output

<stayPrograms> [1]  
 
<program> [1..*]  
 
<syrId> [1] Stay type ID
<name> [1] Stay type name

Sample output

<stayPrograms> 
    <program> 
        <syrId>6</syrId> 
        <name>Jazykově-relaxační pobyty</name> 
    </program> 
    <program> 
        <syrId>11</syrId> 
        <name>Last minute</name> 
    </program> 
    <program> 
        <syrId>16</syrId> 
        <name>Lázeňské pobyty</name> 
    </program> 
    <program> 
        <syrId>21</syrId> 
        <name>Letní­ pobyty</name> 
    </program> 
    <program> 
        <syrId>26</syrId> 
        <name>Pobyty pro seniory</name> 
    </program> 
    <program> 
        <syrId>31</syrId> 
        <name>Pobyty pro učitele</name> 
    </program> 
    <program> 
        <syrId>36</syrId> 
        <name>Pobyty pro zamilované</name> 
    </program> 
    <program> 
        <syrId>41</syrId> 
        <name>Pro maminky</name> 
    </program> 
    <program> 
        <syrId>46</syrId> 
        <name>Redukční pobyty</name> 
    </program> 
    <program> 
        <syrId>51</syrId> 
        <name>Relaxační pobyty</name> 
    </program> 
    <program> 
        <syrId>56</syrId> 
        <name>Vánoční a silvestrovské pobyty</name> 
    </program> 
    <program> 
        <syrId>61</syrId> 
        <name>Velikonoční pobyty</name> 
    </program> 
    <program> 
        <syrId>66</syrId> 
        <name>Víkendové pobyty</name> 
    </program> 
    <program> 
        <syrId>71</syrId> 
        <name>Wellness pobyty</name> 
    </program> 
</stayPrograms>