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

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

  • startdate

    first day

  • days

    number of days

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>1.0.0</version>
        <timestamp>20210808162849</timestamp>
        <transaction>52791</transaction>
    </header>
    <query type="getmaximumstay" product="hotel" agrement="1299">
        <startdate>2020-06-10</startdate>
        <days>300</days>
    </query>
</envelope>