The supplier sends this message about the closures which are applied by the structures. The query type (type) is set to getclousure.

Below you can see the fields you can find in the message body and their meanings.

  • startdate

    first closing day

  • days

    number of days. (You can add this number to the start date to get the end of the period. If these two dates correspond this value is set to 0).

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

<?xml version="1.0" encoding="UTF-8"?>
<envelope>
       <header>
        <actor>...</actor>
        <user>...</user>
        <password>....</password>
          <version>0.1b</version>
          <timestamp>20160427</timestamp>
          <transaction>160125</transaction>
      </header>
<query type="getclousure" product="hotel" agrement="1299">
<startdate>2022-08-01</startdate>
<days>300</days>
</query>
</envelope>