The supplier sends this message to set closure check-in and terms. The query type (type) is set to setclousuretoarrival.

Below you can see the fields you can find in the message body and their meanings.

date

closing period

  • startdate

    first closing check-in day

  • enddate

    last closing check-in day

  • roomcode

    room types that have to be closed

    • 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 send.

<envelope>
    <header>
        <actor>...</actor>
        <user>...</user>
        <password>...</password>
        <version>1.0.0</version>
        <timestamp>20210808162849</timestamp>
        <transaction>52791</transaction>
    </header>
    <query type="setclousuretoarrival" product="hotel" agrement="1299">
        <date>
            <startdate>2021-08-10</startdate>
            <enddate>2021-08-20</enddate>
            <roomcode>
                <SGL>Y</SGL>
                <TWN>Y</TWN>
                <DBL>Y</DBL>
                <TRP>Y</TRP>
                <QUD>N</QUD>
            </roomcode>
        </date>
    </query>
</envelope>