The supplier sends this message to request the availability about saved structures. The query type(type) is set to getavail.

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

  • roomtype

    Room type. It collects all data relating to a room type.

  • roomcode

    Room type. Collects all data for a type of room.

    • SGL single room
    • The availabilities of the TSU (twin for sole use room) are inherited from the TWN.
    • TWN twin room
    • DBL double room
    • TRP triple room
    • QUD quadruple room
  • startdate

    requested effective date

  • days

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

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

<?xml version="1.0" encoding="UTF-8"?>
  <query type="getavail" product="hotel" agrement="1299">
        <roomtype roomcode="SGL">
        <roomtype roomcode="DBL">
        <roomtype roomcode="TRP">