Affiliate API - Hotel Details( hotelDetails )
Navigate to Affiliate API
Details
- CustomActionName hotel-details
- Name Hotel Details
- Description Find Hotels for a specified request.
- MethodGroup Content Service
Parameters
-
q
Type StringDescription List of hotels ids, OR a list of locality ids.Example <a class="showCode" href="/api/hotel-details?q=34604&webid=45">/api/hotel-details?q=34604&webid=45</a>Example <a class="showCode" href="/api/hotel-details?q=34604,34598,115093,134369&webid=45">/api/hotel-details?q=34604,34598,115093,134369&webid=45</a>Required true
-
islocality
Type BooleanDescription If you want a list of hotel details in a locality id, then you MUST set this variable to [true]. If not supplied, the request defaults to hotel ids. NOTE: Due to the potential for this to be a very large response, this message returns a more concise set of data for each hotel.Example <a class="showCode" href="/api/hotel-details?q=373350&islocality=true&webid=45">/api/hotel-details?q=373350&islocality=true&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>.Example <a class="showCode" href="/api/hotel-details?q=373350&private=include&islocality=true&webid=45">/api/hotel-details?q=373350&private=include&islocality=true&webid=45</a>Example <a class="showCode" href="/api/hotel-details?q=373350&private=true&islocality=true&webid=45">/api/hotel-details?q=373350&private=true&islocality=true&webid=45</a>
-
cb
Type StringDescription Define a callback function for cross-site ajax.Example <a class="showCode" href="/api/hotel-details?q=34604&webid=45&cb=jsonpFE4423945A">/api/hotel-details?q=34604&webid=45&cb=jsonpFE4423945A</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>