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.


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)


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 version="1.0" encoding="UTF-8"?>
    <query type="setrate" product="hotel" agrement="4217">
        <roomtype roomcode="SGL">
            <date value="2022-04-04" operation="insert">