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
dates
A set of data about the rates of a given room type.
date
rate rate
Let’s see an example of message the client could send.
<?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>