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 String
    Description 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 Boolean
    Description 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 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>.
    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 String
    Description 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 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

Response

  • Type <a href="/ui/Show?name=Microsoft.AspNetCore.Mvc.ActionResult"></a>

Faults

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