GET api/CityCountry/citycountrylist?AppId={AppId}&AppKey={AppKey}&countryId={countryId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
AppId | string |
Default value is |
|
AppKey | string |
Default value is |
|
countryId | integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
CityCountryName | Description | Type | Additional information |
---|---|---|---|
code | string |
None. |
|
msg | string |
None. |
|
data | Collection of CityCountrylst |
None. |
Response Formats
application/json, text/json
Sample:
{ "code": "sample string 1", "msg": "sample string 2", "data": [ { "country_id": "sample string 1", "country_name": "sample string 2", "country_code": "sample string 3", "comments": "sample string 4" }, { "country_id": "sample string 1", "country_name": "sample string 2", "country_code": "sample string 3", "comments": "sample string 4" } ] }
text/xml
Sample:
<CityCountry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EConnect.Models"> <code>sample string 1</code> <data> <CityCountrylst> <comments>sample string 4</comments> <country_code>sample string 3</country_code> <country_id>sample string 1</country_id> <country_name>sample string 2</country_name> </CityCountrylst> <CityCountrylst> <comments>sample string 4</comments> <country_code>sample string 3</country_code> <country_id>sample string 1</country_id> <country_name>sample string 2</country_name> </CityCountrylst> </data> <msg>sample string 2</msg> </CityCountry>