GET api/main/ListCity
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of tbl_ostan_shahr| Name | Description | Type | Additional information |
|---|---|---|---|
| codeshahr | string |
None. |
|
| nameshahr | string |
None. |
|
| codeostan | string |
None. |
|
| nameostan | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"codeshahr": "sample string 1",
"nameshahr": "sample string 2",
"codeostan": "sample string 3",
"nameostan": "sample string 4"
},
{
"codeshahr": "sample string 1",
"nameshahr": "sample string 2",
"codeostan": "sample string 3",
"nameostan": "sample string 4"
}
]
application/xml, text/xml
Sample:
<ArrayOftbl_ostan_shahr xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/mobinstore_api.Models">
<tbl_ostan_shahr>
<codeostan>sample string 3</codeostan>
<codeshahr>sample string 1</codeshahr>
<nameostan>sample string 4</nameostan>
<nameshahr>sample string 2</nameshahr>
</tbl_ostan_shahr>
<tbl_ostan_shahr>
<codeostan>sample string 3</codeostan>
<codeshahr>sample string 1</codeshahr>
<nameostan>sample string 4</nameostan>
<nameshahr>sample string 2</nameshahr>
</tbl_ostan_shahr>
</ArrayOftbl_ostan_shahr>