System.getMeals | Previo API

System.getMeals

Global list of codes for included meals (board). 

Each hotel may offer different subsets of this code list in different time periods. For more information, use the function Hotel.getRates.

Code list - Version as of 30th April 2010

ID Name
1 No board (meals not included)
2 Breakfast
3 Lunch
4 Dinner
5 Half board 
6 Full board
7 Package
8 All inclusive

Parameters

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

Sample request

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

Output

<meals> [1]  
 
<meal> [1..*]  
 
<meaId> [1] Board ID
<name> [1] Board name

Sample output

<meals>
    <meal>
        <meaId>1</meaId>
        <name>bez stravy</name>
    </meal>
    <meal>
        <meaId>2</meaId>
        <name>snídaně</name>
    </meal>
    <meal>
        <meaId>3</meaId>
        <name>oběd</name>
    </meal>
    <meal>
        <meaId>4</meaId>
        <name>večeře</name>
    </meal>
    <meal>
        <meaId>5</meaId>
        <name>polopenze</name>
    </meal>
    <meal>
        <meaId>6</meaId>
        <name>plná penze</name>
    </meal>
    <meal>
        <meaId>7</meaId>
        <name>balíček</name>
    </meal>
    <meal>
        <meaId>8</meaId>
        <name>all-inclusive</name>
    </meal>
</meals>