Affiliate API - Search Hotels( searchHotels )

Navigate to Affiliate API


  • CustomActionName search-hotels
  • Name Search Hotels
  • Description Find Hotels for a specified request.
  • MethodGroup Content Service


  • q
    Type String
    Description The text string you are searching for. Minimum 4 characters. NOTE: this function will always perform a substring search (match anywhere in the hotel name).
    Example <a class="showCode" href="/api/search-hotels?q=palm&webid=45">/api/search-hotels?q=palm&webid=45</a>
    Required true
  • private
    Type String
    Description 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/search-hotels?q=palm&private=include&webid=45">/api/search-hotels?q=palm&private=include&webid=45</a>
    Example <a class="showCode" href="/api/search-hotels?q=palm&private=true&webid=45">/api/search-hotels?q=palm&private=true&webid=45</a>
  • cb
    Type String
    Description Define a callback function for cross-site ajax.
    Example <a class="showCode" href="/api/search-hotels?q=palm&cb=jsonp33465&webid=45">/api/search-hotels?q=palm&cb=jsonp33465&webid=45</a>
  • webid
    Type Int32
    Description The affiliate id for the message you are requesting.
    Required true
  • callback
    Type String
    Description Define a callback function for cross-site ajax
  • IgnoreCache
    Type Boolean
  • ShowError
    Type Boolean


  • Name Affiliate Json Result Empty
    Type <a href="/ui/Show?name=Affiliate Json Result Empty">JsonpResultEmpty</a>