GET Api/Geocontent/GetCities?ContinentalId={ContinentalId}&CountryId={CountryId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ContinentalId | string |
Required |
|
CountryId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
CustomResponseObjectOfIEnumerableOfCitiesName | Description | Type | Additional information |
---|---|---|---|
CustomResponseState | boolean |
None. |
|
CustomResponseMessage | string |
None. |
|
CustomObject | Collection of Cities |
None. |
|
CustomRedirectionUri | string |
None. |
|
GlobalRequestToken | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "CustomResponseState": true, "CustomResponseMessage": "sample string 2", "CustomObject": [ { "id": 1, "CountryId": 2, "CityName": "sample string 3", "isCapital": true }, { "id": 1, "CountryId": 2, "CityName": "sample string 3", "isCapital": true } ], "CustomRedirectionUri": "sample string 3", "GlobalRequestToken": "sample string 4" }
text/html
Sample:
{"CustomResponseState":true,"CustomResponseMessage":"sample string 2","CustomObject":[{"id":1,"CountryId":2,"CityName":"sample string 3","isCapital":true},{"id":1,"CountryId":2,"CityName":"sample string 3","isCapital":true}],"CustomRedirectionUri":"sample string 3","GlobalRequestToken":"sample string 4"}
application/xml, text/xml
Sample:
<CustomResponseObjectOfArrayOfCitiesm4UkzHxs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/we.net.dto"> <CustomObject> <Cities> <CityName>sample string 3</CityName> <CountryId>2</CountryId> <id>1</id> <isCapital>true</isCapital> </Cities> <Cities> <CityName>sample string 3</CityName> <CountryId>2</CountryId> <id>1</id> <isCapital>true</isCapital> </Cities> </CustomObject> <CustomRedirectionUri>sample string 3</CustomRedirectionUri> <CustomResponseMessage>sample string 2</CustomResponseMessage> <CustomResponseState>true</CustomResponseState> <GlobalRequestToken>sample string 4</GlobalRequestToken> </CustomResponseObjectOfArrayOfCitiesm4UkzHxs>