GET api/CarPark?Latitude={Latitude}&Longitude={Longitude}&Result={Result}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Latitude | decimal number |
Required |
|
| Longitude | decimal number |
Required |
|
| Result | integer |
Default value is 1 |
Body Parameters
None.
Response Information
Resource Description
Collection of CarParkOutput| Name | Description | Type | Additional information |
|---|---|---|---|
| OBJECTID | integer |
None. |
|
| SITE_CODE | string |
None. |
|
| SITE_NAME | string |
None. |
|
| STREET | string |
None. |
|
| AREA_NAME | string |
None. |
|
| WARD_NAME | string |
None. |
|
| TOWN_NAME | string |
None. |
|
| FEATURE_GP | string |
None. |
|
| UNIT | string |
None. |
|
| AREA | decimal number |
None. |
|
| PLOT_NO | decimal number |
None. |
|
| EASTING | integer |
None. |
|
| NORTHING | integer |
None. |
|
| ASSET_ID | string |
None. |
|
| Latitude | decimal number |
None. |
|
| Longitude | decimal number |
None. |
|
| Distance | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"OBJECTID": 1,
"SITE_CODE": "sample string 2",
"SITE_NAME": "sample string 3",
"STREET": "sample string 4",
"AREA_NAME": "sample string 5",
"WARD_NAME": "sample string 6",
"TOWN_NAME": "sample string 7",
"FEATURE_GP": "sample string 8",
"UNIT": "sample string 9",
"AREA": 1.0,
"PLOT_NO": 1.0,
"EASTING": 1,
"NORTHING": 1,
"ASSET_ID": "sample string 10",
"Latitude": 11.1,
"Longitude": 12.1,
"Distance": 1.1
},
{
"OBJECTID": 1,
"SITE_CODE": "sample string 2",
"SITE_NAME": "sample string 3",
"STREET": "sample string 4",
"AREA_NAME": "sample string 5",
"WARD_NAME": "sample string 6",
"TOWN_NAME": "sample string 7",
"FEATURE_GP": "sample string 8",
"UNIT": "sample string 9",
"AREA": 1.0,
"PLOT_NO": 1.0,
"EASTING": 1,
"NORTHING": 1,
"ASSET_ID": "sample string 10",
"Latitude": 11.1,
"Longitude": 12.1,
"Distance": 1.1
}
]
application/xml, text/xml
Sample:
<ArrayOfCarParkOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GISRestAPI.GISData.Entities.CarPark">
<CarParkOutput>
<AREA>1</AREA>
<AREA_NAME>sample string 5</AREA_NAME>
<ASSET_ID>sample string 10</ASSET_ID>
<Distance>1.1</Distance>
<EASTING>1</EASTING>
<FEATURE_GP>sample string 8</FEATURE_GP>
<Latitude>11.1</Latitude>
<Longitude>12.1</Longitude>
<NORTHING>1</NORTHING>
<OBJECTID>1</OBJECTID>
<PLOT_NO>1</PLOT_NO>
<SITE_CODE>sample string 2</SITE_CODE>
<SITE_NAME>sample string 3</SITE_NAME>
<STREET>sample string 4</STREET>
<TOWN_NAME>sample string 7</TOWN_NAME>
<UNIT>sample string 9</UNIT>
<WARD_NAME>sample string 6</WARD_NAME>
</CarParkOutput>
<CarParkOutput>
<AREA>1</AREA>
<AREA_NAME>sample string 5</AREA_NAME>
<ASSET_ID>sample string 10</ASSET_ID>
<Distance>1.1</Distance>
<EASTING>1</EASTING>
<FEATURE_GP>sample string 8</FEATURE_GP>
<Latitude>11.1</Latitude>
<Longitude>12.1</Longitude>
<NORTHING>1</NORTHING>
<OBJECTID>1</OBJECTID>
<PLOT_NO>1</PLOT_NO>
<SITE_CODE>sample string 2</SITE_CODE>
<SITE_NAME>sample string 3</SITE_NAME>
<STREET>sample string 4</STREET>
<TOWN_NAME>sample string 7</TOWN_NAME>
<UNIT>sample string 9</UNIT>
<WARD_NAME>sample string 6</WARD_NAME>
</CarParkOutput>
</ArrayOfCarParkOutput>