---
title: 'Sending rates (Set Rate)'
url: 'https://documentation.netstorming.net/channel-manager/contact-manager-protocol/sending-information-messages-set/sending-rates-set-rate'
markdown: 'https://documentation.netstorming.net/channel-manager/contact-manager-protocol/sending-information-messages-set/sending-rates-set-rate.md'
date: '2026-11-10'
description: 'The supplier sends this message about the facilities rates. The query type (type) is set to setrate. Below you can see the fields you can find in the message body and their meanings. roomtype Room type. Room type. It collects all data for a room type. roomcode Parameter which identifies the room …'
taxonomy:
  category:
    - docs
---

# Sending rates (Set Rate)

[](#)  [ Channel Manager ](https://documentation.netstorming.net/channel-manager)      Contact Manager Protocol      [ Sending information Messages (set) ](https://documentation.netstorming.net/channel-manager/contact-manager-protocol/sending-information-messages-set)      Sending rates (Set Rate)    

The supplier sends this message about the facilities rates. The query type (**type**) is set to **setrate**. Below you can see the fields you can find in the message body and their meanings.

**roomtype**

Room type. Room type. It collects all data for a room type.

- **roomcode**

    Parameter which identifies the room type
- - **SGL single room**
- - **TSU twin for sole use room**
- - **TWN twin room**
- - **DBL double room**
- - **TRP triple room**
- - **QUD quadruple room**
- - **cot (small letters)**
- - **extrabed (small letters)**

**dates**

A set of data about the rates of a given room type.

- **date**
- - **value**data value
- - **operation**indicates the operation type. It is a mandatory field and has always to be set to **insert**.
- **rate**rate
- **days**number of days. (You can add this number to the effective date to get the end of the period. If these two dates correspond you must set this value to 0)

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

```xml
<?xml version="1.0" encoding="UTF-8"?>
<envelope>
    <header>
    <actor>test</actor>
        <user>test</user>
        <password>test</password>
        <version>0.1b</version>
        <timestamp>20210423170100</timestamp>
        <transaction>12345</transaction>
    </header>
    <query type="setrate" product="hotel" agrement="4217">
        <roomtype roomcode="SGL">
          <dates>
            <date value="2022-04-04" operation="insert">
              <rate>120</rate>
              <days>1</days>
            </date>
          </dates>
        </roomtype>
    </query>
</envelope>
```

 [ ](https://documentation.netstorming.net/channel-manager/contact-manager-protocol/sending-information-messages-set/sending-availability-set-avail) [](https://documentation.netstorming.net/channel-manager/requesting-information-messages-get/request-information-on-closures-for-check-in-get-clousure-to-arrival)

---

## Navigation

- Parent: [Sending information Messages (set)](https://documentation.netstorming.net/channel-manager/contact-manager-protocol/sending-information-messages-set.md)
- Previous: [Sending availability (Set Avail)](https://documentation.netstorming.net/channel-manager/contact-manager-protocol/sending-information-messages-set/sending-availability-set-avail.md)
