Affiliate API - Get Hotel Grids( getHotelsGrids )
Navigate to Affiliate API
Details
- CustomActionName get-hotels-grids
- Name Get Hotel Grids
- Description Find Hotel grid information for a specified request.
- MethodGroup Inventory Service
Parameters
-
q
Type StringDescription The hotel[s] you wish to obtain a price grid for. If you wish to obtain multiples hotel's data, supply 'q' as a comma separated list. <br />NOTE: If not supplied with optional parameters, the grid will default to the following data: <br />* checkin = today <br />* nights = 3 <br />* adults = 2 <br />* children = 0Example <a class="showCode" href="/api/get-hotels-grids?q=176296&webid=45">/api/get-hotels-grids?q=176296&webid=45</a>Example <a class="showCode" href="/api/get-hotels-grids?q=176296,98609&webid=45">/api/get-hotels-grids?q=176296,98609&webid=45</a>Required true
-
includedetails
Type BooleanDescription Include property information with the grid data.Example <a class="showCode" href="/api/get-hotels-grids?q=176296&includedetails=true&webid=45">/api/get-hotels-grids?q=176296&includedetails=true&webid=45</a>
-
checkin
Type StringDescription Check In: The date for the start of the grid.Example <a class="showCode" href="/api/get-hotels-grids?q=176296&checkin=2011-05-21&webid=45">/api/get-hotels-grids?q=176296&checkin=2011-05-21&webid=45</a>
-
nights
Type Int32Description Nights: The number of nights stay until check-out.Example <a class="showCode" href="/api/get-hotels-grids?q=176296&nights=7&webid=45">/api/get-hotels-grids?q=176296&nights=7&webid=45</a>
-
adults
Type Int32Description The number of adult guests.Example <a class="showCode" href="/api/get-hotels-grids?q=176296&adults=4&webid=45">/api/get-hotels-grids?q=176296&adults=4&webid=45</a>
-
children
Type Int32Description The number of children guests.Example <a class="showCode" href="/api/get-hotels-grids?q=176296&children=2&webid=45">/api/get-hotels-grids?q=176296&children=2&webid=45</a>
-
private
Type StringDescription If you wish to include private apartments with normal results, set to <em>include</em>. <br /> If you wish to ONLY search for private apartments, you need to set this to <em>true</em>. <br />Example <a class="showCode" href="/api/get-hotels-grids?q=176296&private=include&webid=45">/api/get-hotels-grids?q=176296&private=include&webid=45</a>Example <a class="showCode" href="/api/get-hotels-grids?q=176296&private=true&webid=45">/api/get-hotels-grids?q=176296&private=true&webid=45</a>
-
cb
Type StringDescription Define a callback function for cross-site ajax.Example <a class="showCode" href="/api/get-hotels-grids?q=176296&webid=45&cb=jsonpFEBC23945A">/api/get-hotels-grids?q=176296&webid=45&cb=jsonpFEBC23945A</a>
-
webid
Type Int32Description The affiliate id for the message you are requesting.Required true
-
callback
Type StringDescription Define a callback function for cross-site ajax
-
IgnoreCache
Type Boolean
-
ShowError
Type Boolean