The reply message contains within tag response the various fields that describe the closure terms for each room type.

dates

  • start date

    first closing day

  • days

    number of days. (You can add this number to the start date to get the end of the period. If these two dates correspond this value is set to 0)

  • roomtype

    parameter that identifies the room type

    • SGL single room
    • TWN twin room
    • DBL double room
    • TRP triple room
    • QUD quadruple room

Let’s see an example of message the client could receive.

<?xml version="1.0" encoding="UTF-8"?>
<envelope>
    <header>
        <actor>...</actor>
        <user>...</user>
        <version>0.1b</version>
        <timestamp>20210219164156</timestamp>
        <transaction>160125</transaction>
    </header>
    <response type="getclousuretoarrival"/>
    <date>
        <startdate>2022-12-25</startdate>
        <days>1</days>
        <roomtype>
            <DBL>Y</DBL>
            <TWN>Y</TWN>
            <QUD>Y</QUD>
            <TRP>Y</TRP>
            <SGL>Y</SGL>
        </roomtype>
    </date>
</envelope>