GET City/byCountry/iran/{userGuid}
Returns list of all registered cities withing the system for Iran country
باز گرداندن لیست تمامی شهر های ثبت شده درون سیستم که در داخل کشور ایران می باشند
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userGuid |
GUID of the User
|
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CityVmName | Description | Type | Additional information |
---|---|---|---|
Code |
Code of the City کد شهر |
integer |
None. |
Name |
Persian name of the City نام فارسی شهر |
string |
None. |
NameEn |
English name of the City نام انگلیسی شهر |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Code": 1, "Name": "sample string 2", "NameEn": "sample string 3" }, { "Code": 1, "Name": "sample string 2", "NameEn": "sample string 3" } ]
application/xml, text/xml
Sample:
<ArrayOfCityVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AlaedinApi.Models"> <CityVm> <Code>1</Code> <Name>sample string 2</Name> <NameEn>sample string 3</NameEn> </CityVm> <CityVm> <Code>1</Code> <Name>sample string 2</Name> <NameEn>sample string 3</NameEn> </CityVm> </ArrayOfCityVm>