The supplier sends this message about the contract types that are used in structures. The message query type(type) is set to getcontracts. Below you can see the fields you can find in the message body and their meanings.

  • roomtype roomcode

    • room type
    • SGL single room
    • TSU twin for sole use room
    • TWN twin room
    • DBL double room
    • TRP triple room
    • QUD quadruple room
  • startdate

    interval effective date

  • days

    number of days interval

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="getcontract" product="hotel" agrement="5629">
    <roomtype roomcode="DBL">
        <startdate>2022-05-01</startdate>
        <days>15</days>
    </roomtype>
    </query>
</envelope>