The supplier sends this message to set closure dates and terms. The query type (type) is set to setclousure . Below you can see the fields you can find in the message body and their meanings.
date
closing period
startdate
first closing day
enddate
last closing day
roomcode
room types that have to be closed
This call doesn't manage the parameter "generic".
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="setclousure" product="hotel" agrement="5629">
<date>
<startdate>2022-01-01</startdate>
<enddate>2022-01-01</enddate>
<roomcode>
<SGL>Y</SGL>
<TWN>Y</TWN>
<DBL>Y</DBL>
<TRP>Y</TRP>
<QUD>Y</QUD>
</roomcode>
</date>
</query>
</envelope>