Affiliate API - Search Hotels( searchHotels )

Navigate to Affiliate API

Details

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

Parameters

  • 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).
    Required true
  • private
    Type String
    Description If you wish to include private apartments with normal results, set to include.
    If you wish to ONLY search for private apartments, you need to set this to true.
  • cb
    Type String
    Description Define a callback function for cross-site ajax.
  • 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

Faults