GET City/{cityCode}/{userGuid}

Find and return an object representing a city information by that city code

پیدا کردن و باز گرداندم یک شی که معرف اطلاعات یک شهر می باشد توسط کد آن شهر

Request Information

URI Parameters

NameDescriptionTypeAdditional information
cityCode

Code of the desired city
کد شهر مد نظر

integer

Required

userGuid

GUID of the User
شناسه GUID کاربر

string

Required

Body Parameters

None.

Response Information

Resource Description

CityVm
NameDescriptionTypeAdditional 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"
}

application/xml, text/xml

Sample:
<CityVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AlaedinApi.Models">
  <Code>1</Code>
  <Name>sample string 2</Name>
  <NameEn>sample string 3</NameEn>
</CityVm>