GET Region/{regionCode}/{userGuid}
Find and return an object representing a region information by that region code
پیدا کردن و باز گرداندم یک شی که معرف اطلاعات یک منطقه می باشد توسط کد آن منطقه
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| regionCode |
Code of the desired region
|
integer |
Required |
| userGuid |
GUID of the User
|
string |
Required |
Body Parameters
None.
Response Information
Resource Description
RegionVm| Name | Description | Type | Additional 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
{
"Code": 1,
"Name": "sample string 2",
"NameEn": "sample string 3"
}
application/xml, text/xml
<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>