Affiliate API - Get Localities( getLocalities )

Navigate to Affiliate API

Details

  • CustomActionName get-localities
  • Name Get Localities
  • Description Find localities for a specified request.
  • MethodGroup Content Service

Parameters

  • q
    Type Int32
    Description The unique locality id identifier for the location you are searching.
    Example <a class="showCode" href="/api/get-localities?q=373253&webid=45">/api/get-localities?q=373253&webid=45</a>
  • increqhotels
    Type Boolean
    Description Include countries with hotels from slow data sources?
    Example <a class="showCode" href="/api/get-localities?q=373253&increqhotels=true&webid=45">/api/get-localities?q=373253&increqhotels=true&webid=45</a>
  • cb
    Type String
    Description Define a callback function for cross-site ajax
    Example <a class="showCode" href="/api/get-localities?q=373253&increqhotels=true&webid=45&cb=jsonp9445E65">/api/get-localities?q=373253&increqhotels=true&webid=45&cb=jsonp9445E65</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

Faults

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