This call will continue being parsed but it is now deprecated If you need to set closures for checkin, you can use the setclosure operation with checkinonly element to Y

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.

Request

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>
Response

The reply message contains, within tag response, the string "OK" or in case of error the string "error code XX (description)", where XX represents an error code (error code list)