---
title: 'Request of information about the active contracts (Get Hotels Contracts)'
url: 'https://documentation.netstorming.net/channel-manager/requesting-information-messages-get/request-of-information-about-the-active-contracts-get-hotels-contracts'
markdown: 'https://documentation.netstorming.net/channel-manager/requesting-information-messages-get/request-of-information-about-the-active-contracts-get-hotels-contracts.md'
date: '2026-11-10'
description: 'The channel manager can use this method in order to retrieve information about the active contracts of a specific hotel. The query type (type) should be set to gethotelscontracts. Let’s see an example of message the client could send. <?xml version="1.0" encoding="UTF-8"?&g…'
taxonomy:
  category:
    - docs
---

# Request of information about the active contracts (Get Hotels Contracts)

[](#)  [ Channel Manager ](https://documentation.netstorming.net/channel-manager)      Requesting information messages (get)       Request of information about the active contracts (Get Hotels Contracts)    

The channel manager can use this method in order to retrieve information about the active contracts of a specific hotel.

The query type (**type**) should be set to **gethotelscontracts**.

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

```xml
<?xml version="1.0" encoding="UTF-8"?>
<envelope>
    <header>
        <actor>...</actor>
        <user>...</user>
        <password>...</password>   
        <version>01b</version>
        <timestamp>20211004113909</timestamp>
        <transaction>12345</transaction>
    </header>
    <query type="gethotelscontracts" product="hotel" hotel="12466"/>
</envelope>
```

If you want to receive information about derived or connected contracts too, you can populate an optional attribute **extended** . See the example below

```xml
<?xml version="1.0" encoding="UTF-8"?>
<envelope>
    <header>
        <actor>...</actor>
        <user>...</user>
        <password>...</password>   
        <version>01b</version>
        <timestamp>20211004113909</timestamp>
        <transaction>12345</transaction>
    </header>
    <query type="gethotelscontracts" product="hotel" hotel="12466" extended="true"/>
</envelope>
```

 [ ](https://documentation.netstorming.net/channel-manager/requesting-information-messages-get/request-of-availability-information-get-avail) [](https://documentation.netstorming.net/channel-manager/requesting-information-messages-get/request-of-information-about-the-contract-get-contract)

---

## Navigation

- Previous: [Request of availability information (Get Avail)](https://documentation.netstorming.net/channel-manager/requesting-information-messages-get/request-of-availability-information-get-avail.md)
- Next: [Request of information about the contract (Get Contract)](https://documentation.netstorming.net/channel-manager/requesting-information-messages-get/request-of-information-about-the-contract-get-contract.md)
