The reply message contains within tag response the various fields that show the maximum stay applied.

dates

  • start date

    first day

  • days

    number of days of maximum stay validity

  • roomtype

    data about the maximum stay Parameter that identifies the room type:

    • SGL single room
    • TSU twin for sole use room The TSU doesn't inherit the maximum stay of the TWN.
    • TWN twin room
    • DBL double room
    • TRP triple room
    • QUD quadruple room
  • night

    nights of maximum stay

  • period

    validity period of the maximum stay

    • W weekend days
    • F ferial days
    • B both: weekend and ferial days

Let’s see an example of message the client could receive if the minimum stay has been set specifically for a room type.

<?xml version="1.0" encoding="UTF-8"?>
<envelope>
    <header>
        <actor>...</actor>
        <user>...</user>
        <version>0.1b</version>
        <timestamp>20210219165009</timestamp>
        <transaction>52791</transaction>
    </header>
    <response type="getmaximumstay"/>
    <date>
        <startdate>2020-06-28</startdate>
        <days>2</days>
        <roomtype>
            <DBL>9</DBL>
            <TRP>9</TRP>
        </roomtype>
        <period>B</period>
        <checkindays>
            <checkinday>0</checkinday>
            <checkinday>1</checkinday>
        </checkindays>
    </date>
</envelope>

Let’s see an example of message the client could receive if the minimum stay has been generically set.

<?xml version="1.0" encoding="UTF-8"?>
<envelope>
    <header>
        <actor>...</actor>
        <user>...</user>
        <version>0.1b</version>
        <timestamp>20210219165009</timestamp>
        <transaction>52791</transaction>
    </header>
    <response type="getmaximumstay"/>
    <date>
        <startdate>2020-06-28</startdate>
        <days>2</days>
<nights>2</nights>
        <period>B</period>
        <checkindays>
            <checkinday>0</checkinday>
            <checkinday>1</checkinday>
        </checkindays>
    </date>
</envelope>