GET api/applicant/GetAreas?city={city}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
city | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of AreaViewModel_vName | Description | Type | Additional information |
---|---|---|---|
id | string |
None. |
|
code | string |
None. |
|
nameAR | string |
None. |
|
nameEN | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "id": "sample string 1", "code": "sample string 2", "nameAR": "sample string 3", "nameEN": "sample string 4" }, { "id": "sample string 1", "code": "sample string 2", "nameAR": "sample string 3", "nameEN": "sample string 4" } ]
application/xml, text/xml
Sample:
<ArrayOfAreaViewModel_v xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDF.APIs.Models"> <AreaViewModel_v> <code>sample string 2</code> <id>sample string 1</id> <nameAR>sample string 3</nameAR> <nameEN>sample string 4</nameEN> </AreaViewModel_v> <AreaViewModel_v> <code>sample string 2</code> <id>sample string 1</id> <nameAR>sample string 3</nameAR> <nameEN>sample string 4</nameEN> </AreaViewModel_v> </ArrayOfAreaViewModel_v>