Affiliate API - Get Countries( getCountries )

Navigate to Affiliate API

Details

  • CustomActionName get-countries
  • Name Get Countries
  • Description Find country information for a specified request.
  • MethodGroup Content Service

Parameters

  • q
    Type Boolean
    Description Required to activate the query.
    Example <a class="showCode" href="/api/get-countries?q=true&webid=45">/api/get-countries?q=true&webid=45</a>
    Required true
  • increqhotels
    Type Boolean
    Description Include countries with hotels from slow data sources?
    Example <a class="showCode" href="/api/get-countries?q=true&increqhotels=true&webid=45">/api/get-countries?q=true&increqhotels=true&webid=45</a>
  • cb
    Type String
    Description Define a callback function for cross-site ajax.
    Example <a class="showCode" href="/api/get-countries?q=true&increqhotels=true&webid=45&cb=jsonp9445E65">/api/get-countries?q=true&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>