GET Region/{userGuid}
Returns list of all registered regions withing the system
باز گرداندن لیست تمامی منطقه های ثبت شده درون سیستم
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 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
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:
<ArrayOfRegionVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AlaedinApi.Models">
<RegionVm>
<Code>1</Code>
<Name>sample string 2</Name>
<NameEn>sample string 3</NameEn>
</RegionVm>
<RegionVm>
<Code>1</Code>
<Name>sample string 2</Name>
<NameEn>sample string 3</NameEn>
</RegionVm>
</ArrayOfRegionVm>