public class StaticDataApi extends Object
| Constructor and Description |
|---|
StaticDataApi() |
StaticDataApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
okhttp3.Call |
getCitiesAsync(String countryCode,
ApiCallback<Object> _callback)
City list (asynchronously)
The API returns a list of city names from a specific country.
|
Object |
getCitiesByCountryCode(String countryCode)
City list
The API returns a list of city names from a specific country.
|
okhttp3.Call |
getCitiesCall(String countryCode,
ApiCallback _callback)
Build call for dataCitiesGet
|
ApiResponse<Object> |
getCitiesWithHttpInfo(String countryCode)
City list
The API returns a list of city names from a specific country.
|
Object |
getCountries()
Country list
The API returns the list of countries available along with its ISO-2 code.
|
okhttp3.Call |
getCountriesAsync(ApiCallback<Object> _callback)
Country list (asynchronously)
The API returns the list of countries available along with its ISO-2 code.
|
okhttp3.Call |
getCountriesCall(ApiCallback _callback)
Build call for dataCountriesGet
|
ApiResponse<Object> |
getCountriesWithHttpInfo()
Country list
The API returns the list of countries available along with its ISO-2 code.
|
Object |
getCurrencies()
Currency list
The API returns all available currency codes along with its name and the list
of supported countries that the currency applies to.
|
okhttp3.Call |
getCurrenciesAsync(ApiCallback<Object> _callback)
Currency list (asynchronously)
The API returns all available currency codes along with its name and the list
of supported countries that the currency applies to.
|
okhttp3.Call |
getCurrenciesCall(ApiCallback _callback)
Build call for dataCurrenciesGet
|
ApiResponse<Object> |
getCurrenciesWithHttpInfo()
Currency list
The API returns all available currency codes along with its name and the list
of supported countries that the currency applies to.
|
String |
getCustomBaseUrl() |
int |
getHostIndex() |
okhttp3.Call |
getHotelAsync(String hotelId,
ApiCallback<Object> _callback)
Hotel details (asynchronously)
The hotel details API returns all the static contents details of a hotel or
property if the hotel ID is provided.
|
Object |
getHotelDetails(String hotelId)
Hotel details
The hotel details API returns all the static contents details of a hotel or
property if the hotel ID is provided.
|
okhttp3.Call |
getHotelDetailsCall(String hotelId,
ApiCallback _callback)
Build call for dataHotelGet
|
Object |
getHotels(String countryCode,
String cityName,
Integer offset,
Integer limit,
String longitude,
String latitude,
Integer distance)
Hotel list
The API returns a list of hotels available based on different search
criterion.
|
okhttp3.Call |
getHotelsAsync(String countryCode,
String cityName,
Integer offset,
Integer limit,
String longitude,
String latitude,
Integer distance,
ApiCallback<Object> _callback)
Hotel list (asynchronously)
The API returns a list of hotels available based on different search
criterion.
|
okhttp3.Call |
getHotelsCall(String countryCode,
String cityName,
Integer offset,
Integer limit,
String longitude,
String latitude,
Integer distance,
ApiCallback _callback)
Build call for dataHotelsGet
|
ApiResponse<Object> |
getHotelsWithHttpInfo(String countryCode,
String cityName,
Integer offset,
Integer limit,
String longitude,
String latitude,
Integer distance)
Hotel list
The API returns a list of hotels available based on different search
criterion.
|
ApiResponse<Object> |
getHotelWithHttpInfo(String hotelId)
Hotel details
The hotel details API returns all the static contents details of a hotel or
property if the hotel ID is provided.
|
Object |
getIataCodes()
IATA code list
The API returns the IATA (International Air Transport Association) codes for
all available airports along with the name of the airport, geographical
coordinates and country code in ISO-2 format.
|
okhttp3.Call |
getIataCodesAsync(ApiCallback<Object> _callback)
IATA code list (asynchronously)
The API returns the IATA (International Air Transport Association) codes for
all available airports along with the name of the airport, geographical
coordinates and country code in ISO-2 format.
|
okhttp3.Call |
getIataCodesCall(ApiCallback _callback)
Build call for dataIataCodesGet
|
ApiResponse<Object> |
getIataCodesWithHttpInfo()
IATA code list
The API returns the IATA (International Air Transport Association) codes for
all available airports along with the name of the airport, geographical
coordinates and country code in ISO-2 format.
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public StaticDataApi()
public StaticDataApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public String getCustomBaseUrl()
public void setCustomBaseUrl(String customBaseUrl)
public okhttp3.Call getCitiesCall(String countryCode, ApiCallback _callback) throws ApiException
countryCode - Country code in iso-2 format (example: SG) (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object
| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 400 | Bad Request | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 401 | Unauthorized | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
public Object getCitiesByCountryCode(String countryCode)
countryCode - Country code in iso-2 format (example: SG) (required)| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 400 | Bad Request | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 401 | Unauthorized | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
public ApiResponse<Object> getCitiesWithHttpInfo(String countryCode) throws ApiException
countryCode - Country code in iso-2 format (example: SG) (required)ApiException - If fail to call the API, e.g. server error or cannot
deserialize the response body
| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 400 | Bad Request | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 401 | Unauthorized | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
public okhttp3.Call getCitiesAsync(String countryCode, ApiCallback<Object> _callback) throws ApiException
countryCode - Country code in iso-2 format (example: SG) (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the
request body object
| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 400 | Bad Request | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 401 | Unauthorized | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
public okhttp3.Call getCountriesCall(ApiCallback _callback) throws ApiException
_callback - Callback for upload/download progressApiException - If fail to serialize the request body object
| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 401 | Unauthorized | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
public Object getCountries()
| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 401 | Unauthorized | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
public ApiResponse<Object> getCountriesWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot
deserialize the response body
| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 401 | Unauthorized | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
public okhttp3.Call getCountriesAsync(ApiCallback<Object> _callback) throws ApiException
_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the
request body object
| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 401 | Unauthorized | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
public okhttp3.Call getCurrenciesCall(ApiCallback _callback) throws ApiException
_callback - Callback for upload/download progressApiException - If fail to serialize the request body object
| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 401 | Unauthorized | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
public Object getCurrencies()
| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 401 | Unauthorized | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
public ApiResponse<Object> getCurrenciesWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot
deserialize the response body
| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 401 | Unauthorized | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
public okhttp3.Call getCurrenciesAsync(ApiCallback<Object> _callback) throws ApiException
_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the
request body object
| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 401 | Unauthorized | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
public okhttp3.Call getHotelDetailsCall(String hotelId, ApiCallback _callback) throws ApiException
hotelId - Unique ID of a hotel (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object
| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 400 | Bad Request | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 401 | Unauthorized | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
public Object getHotelDetails(String hotelId)
hotelId - Unique ID of a hotel (required)| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 400 | Bad Request | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 401 | Unauthorized | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
public ApiResponse<Object> getHotelWithHttpInfo(String hotelId) throws ApiException
hotelId - Unique ID of a hotel (required)ApiException - If fail to call the API, e.g. server error or cannot
deserialize the response body
| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 400 | Bad Request | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 401 | Unauthorized | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
public okhttp3.Call getHotelAsync(String hotelId, ApiCallback<Object> _callback) throws ApiException
hotelId - Unique ID of a hotel (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the
request body object
| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 400 | Bad Request | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 401 | Unauthorized | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
public okhttp3.Call getHotelsCall(String countryCode, String cityName, Integer offset, Integer limit, String longitude, String latitude, Integer distance, ApiCallback _callback) throws ApiException
countryCode - country code ISO-2 code - example (SG) (required)cityName - name of the city (required)offset - specifies the number of rows to skip before starting to
return rows (optional)limit - limit number of results (max 1000) (optional)longitude - longitude geo coordinates (optional)latitude - latitude geo coordinates (optional)distance - distance in meters (min 1000m) (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object
| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 400 | Bad Request | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 401 | Unauthorized | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
public Object getHotels(String countryCode, String cityName, Integer offset, Integer limit, String longitude, String latitude, Integer distance)
countryCode - country code ISO-2 code - example (SG) (required)cityName - name of the city (required)offset - specifies the number of rows to skip before starting to
return rows (optional)limit - limit number of results (max 1000) (optional)longitude - longitude geo coordinates (optional)latitude - latitude geo coordinates (optional)distance - distance in meters (min 1000m) (optional)| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 400 | Bad Request | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 401 | Unauthorized | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
public ApiResponse<Object> getHotelsWithHttpInfo(String countryCode, String cityName, Integer offset, Integer limit, String longitude, String latitude, Integer distance) throws ApiException
countryCode - country code ISO-2 code - example (SG) (required)cityName - name of the city (required)offset - specifies the number of rows to skip before starting to
return rows (optional)limit - limit number of results (max 1000) (optional)longitude - longitude geo coordinates (optional)latitude - latitude geo coordinates (optional)distance - distance in meters (min 1000m) (optional)ApiException - If fail to call the API, e.g. server error or cannot
deserialize the response body
| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 400 | Bad Request | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 401 | Unauthorized | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
public okhttp3.Call getHotelsAsync(String countryCode, String cityName, Integer offset, Integer limit, String longitude, String latitude, Integer distance, ApiCallback<Object> _callback) throws ApiException
countryCode - country code ISO-2 code - example (SG) (required)cityName - name of the city (required)offset - specifies the number of rows to skip before starting to
return rows (optional)limit - limit number of results (max 1000) (optional)longitude - longitude geo coordinates (optional)latitude - latitude geo coordinates (optional)distance - distance in meters (min 1000m) (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the
request body object
| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 400 | Bad Request | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 401 | Unauthorized | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
public okhttp3.Call getIataCodesCall(ApiCallback _callback) throws ApiException
_callback - Callback for upload/download progressApiException - If fail to serialize the request body object
| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 401 | Unauthorized | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
public Object getIataCodes()
| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 401 | Unauthorized | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
public ApiResponse<Object> getIataCodesWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot
deserialize the response body
| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 401 | Unauthorized | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
public okhttp3.Call getIataCodesAsync(ApiCallback<Object> _callback) throws ApiException
_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the
request body object
| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 401 | Unauthorized | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
Copyright © 2023. All rights reserved.