index

getInventories() XML method

username
password
datefrom earliest date (yyyy-mm-dd) format
dateto latest date (yyyy-mm-dd) format
propid optional propid
roomid optional roomid
include maximum stays optional
include multipliers optional

Instructions

This method returns an XML document containing information about the properties available inventory. The required parameters are the username and password of the account. The account APIKEY can be used as the password. Optional propid, roomid, date from and date to can be specified to return specific data. If maxstay is non zero the maximum stay data will be included. If multiplier is non zero the price multiplier data will be included.

The data returned is:

The parameters can be sent as post fields using CURL or similar as in the example form above or posted as XML like follows:



<request>
  <auth>
    <username>username</username>
    <password>password</password>
  </auth>
  <propid></propid>
  <roomid></roomid>
  <datefrom></datefrom>
  <dateto></dateto>
  <maxstay>0</mmaxstay>
  <multiplier>0</multiplier>
</request>