GET Region/{regionCode}/{userGuid}

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

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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
regionCode

Code of the desired region
کد منطقه مد نظر

integer

Required

userGuid

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

string

Required

Body Parameters

None.

Response Information

Resource Description

RegionVm
NameDescriptionTypeAdditional information
Code

Code of the region

کد منطقه

integer

None.

Name

Persian Name of the region

نام فارسی منطقه

string

None.

NameEn

English Name of the region

نام انگلیسی منطقه

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 1,
  "Name": "sample string 2",
  "NameEn": "sample string 3"
}

application/xml, text/xml

Sample:
<RegionVm 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>
</RegionVm>