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 BooleanDescription 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 BooleanDescription 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 StringDescription 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 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
Faults
-
Name Affiliate Json Result EmptyType <a href="/ui/Show?name=Affiliate Json Result Empty">JsonpResultEmpty</a>