---
title: 'Response to the request of information about the availability'
url: 'https://documentation.netstorming.net/channel-manager/requesting-information-messages-get/response-to-the-request-of-information-about-the-availability'
markdown: 'https://documentation.netstorming.net/channel-manager/requesting-information-messages-get/response-to-the-request-of-information-about-the-availability.md'
date: '2026-11-10'
description: 'The reply message contains, within tag response, a XML text with the structure you can see below. roomtype Room type. It collects all data relating to a room type. roomcode Parameter that identifies the room type SGL single room TWN twin room DBL double room TRP triple room QU…'
taxonomy:
  category:
    - docs
---

# Response to the request of information about the availability

[](#)  [ Channel Manager ](https://documentation.netstorming.net/channel-manager)      Requesting information messages (get)       Response to the request of information about the availability    

The reply message contains, within tag response, a XML text with the structure you can see below.

**roomtype**

Room type. It collects all data relating to a room type.

- **roomcode**

    Parameter that identifies the room type
- - **SGL single room**
- - **TWN twin room**
- - **DBL double room**
- - **TRP triple room**
- - **QUD quadruple room**
- **date**
- - **value**

    effective date
- - **days**

    number of days (You can add this number to the start date to get the end date. If these two dates correspond this value has to be set to 0).
- - **avail**

    number of available rooms
- - **release**

    number of release hour
- - **maxrelease**

    maximum number of release hour

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

```xml
<?xml version="1.0" encoding="UTF-8"?>
<envelope>
    <header>
        <actor>...</actor>
        <user>...</user>
        <version>0.1b</version>
        <timestamp>20210219163902</timestamp>
        <transaction>160125</transaction>
    </header>
    <response type="getavail"/>
    <roomtype roomcode="TRP">
        <date value="2022-12-03">
            <days>1</days>
            <avail>4</avail>
            <release>7</release>
            <maxrelease>9</maxrelease>
            <generic>F</generic>
        </date>
    </roomtype>
    <roomtype roomcode="SGL">
        <date value="2022-12-03">
            <days>1</days>
            <avail>0</avail>
            <release>7</release>
            <maxrelease>9</maxrelease>
            <generic>F</generic>
        </date>
    </roomtype>
    <roomtype roomcode="DBL">
        <date value="2022-12-03">
            <days>1</days>
            <avail>4</avail>
            <release>7</release>
            <maxrelease>9</maxrelease>
            <generic>F</generic>
        </date>
    </roomtype>
</envelope>
```

In case of error the reply message contains, within tag **response**, the string "error code XX (description)", where XX represents an error code.

 [ ](https://documentation.netstorming.net/channel-manager/requesting-information-messages-get/response-to-the-request-of-information-about-the-active-contracts) [](https://documentation.netstorming.net/channel-manager/requesting-information-messages-get/response-to-the-request-of-information-about-the-closures)

---

## Navigation

- Previous: [Response to the request of information about the active contracts](https://documentation.netstorming.net/channel-manager/requesting-information-messages-get/response-to-the-request-of-information-about-the-active-contracts.md)
- Next: [Response to the request of information about the closures](https://documentation.netstorming.net/channel-manager/requesting-information-messages-get/response-to-the-request-of-information-about-the-closures.md)
