GET api/GenericData/GetCitiesFromHotelCountriesJolidey?country={country}&_Credentials={_Credentials}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
country | string |
Required |
|
_Credentials | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of cEntityHotelJolideyCountryName | Description | Type | Additional information |
---|---|---|---|
country_code | string |
None. |
|
country_name | string |
None. |
|
hasError | boolean |
None. |
|
hasErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "country_code": "sample string 1", "country_name": "sample string 2", "hasError": true, "hasErrorMessage": "sample string 4" }, { "country_code": "sample string 1", "country_name": "sample string 2", "hasError": true, "hasErrorMessage": "sample string 4" } ]
application/xml, text/xml
Sample:
<ArrayOfcGenericData.cEntityHotelJolideyCountry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JOLIDEY"> <cGenericData.cEntityHotelJolideyCountry> <country_code>sample string 1</country_code> <country_name>sample string 2</country_name> <hasError>true</hasError> <hasErrorMessage>sample string 4</hasErrorMessage> </cGenericData.cEntityHotelJolideyCountry> <cGenericData.cEntityHotelJolideyCountry> <country_code>sample string 1</country_code> <country_name>sample string 2</country_name> <hasError>true</hasError> <hasErrorMessage>sample string 4</hasErrorMessage> </cGenericData.cEntityHotelJolideyCountry> </ArrayOfcGenericData.cEntityHotelJolideyCountry>