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