Affiliate API - Get Hotels( getHotels )
    
    Navigate to Affiliate API
    
                                                    
        
               
    
    
        
    
    
    
    
Details
- CustomActionName get-hotels
- Name Get Hotels
- Description Find hotel ids for a specified request.
- MethodGroup Content Service
Parameters
- 
        q
        Type Int64Description The locality you want a list of hotel ids from.Example <a class="showCode" href="/api/get-hotels?q=373275&webid=45">/api/get-hotels?q=373275&webid=45</a>Required true
- 
        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>.Example <a class="showCode" href="/api/get-hotels?q=373275&private=include&webid=45">/api/get-hotels?q=373275&private=include&webid=45</a>Example <a class="showCode" href="/api/get-hotels?q=373275&private=true&webid=45">/api/get-hotels?q=373275&private=true&webid=45</a>
- 
        cb
        Type StringDescription Define a callback function for cross-site ajax.Example <a class="showCode" href="/api/get-hotels?q=373275&webid=45&cb=jsonpEF3C337">/api/get-hotels?q=373275&webid=45&cb=jsonpEF3C337</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
Response
- 
            Type <a href="/ui/Show?name=Microsoft.AspNetCore.Mvc.ActionResult"></a>
Faults
- 
             Name Affiliate Json Result EmptyType <a href="/ui/Show?name=Affiliate Json Result Empty">JsonpResultEmpty</a>
