GET Province/{userGuid}

Returns list of all registered provinces withing the system

باز گرداندن لیست تمامی استان های ثبت شده درون سیستم

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userGuid

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

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ProvinceVm
NameDescriptionTypeAdditional information
Code

Code of the province

کد استان

integer

None.

Name

Persian Name of the province

نام فارسی استان

string

None.

NameEn

English Name of the province

نام انگلیسی استان

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:
<ArrayOfProvinceVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AlaedinApi.Models">
  <ProvinceVm>
    <Code>1</Code>
    <Name>sample string 2</Name>
    <NameEn>sample string 3</NameEn>
  </ProvinceVm>
  <ProvinceVm>
    <Code>1</Code>
    <Name>sample string 2</Name>
    <NameEn>sample string 3</NameEn>
  </ProvinceVm>
</ArrayOfProvinceVm>