---
title: 'Set closures for checkin (deprecated)'
url: 'https://documentation.netstorming.net/channel-manager/channel-manager-protocol/set-closures-for-checkin'
markdown: 'https://documentation.netstorming.net/channel-manager/channel-manager-protocol/set-closures-for-checkin.md'
date: '2026-11-10'
description: '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 yo…'
taxonomy:
  category:
    - docs
---

# Set closures for checkin (deprecated)

[](#)  [ Channel Manager ](https://documentation.netstorming.net/channel-manager)     [ Channel Manager Protocol ](https://documentation.netstorming.net/channel-manager/channel-manager-protocol)      Set closures for checkin (deprecated)    

**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.

```xml
<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)

 [ ](https://documentation.netstorming.net/channel-manager/channel-manager-protocol/set-closures) [](https://documentation.netstorming.net/channel-manager/channel-manager-protocol/set-minimum-stays)

---

## Navigation

- Parent: [Channel Manager Protocol](https://documentation.netstorming.net/channel-manager/channel-manager-protocol.md)
- Previous: [Set closures](https://documentation.netstorming.net/channel-manager/channel-manager-protocol/set-closures.md)
- Next: [Set minimum stays](https://documentation.netstorming.net/channel-manager/channel-manager-protocol/set-minimum-stays.md)
