GET api/Services?Latitude={Latitude}&Longitude={Longitude}&AllFacilities={AllFacilities}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Latitude | decimal number |
Required |
|
| Longitude | decimal number |
Required |
|
| AllFacilities | boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
ServicesOutput| Name | Description | Type | Additional information |
|---|---|---|---|
| OBJECTID | integer |
None. |
|
| TYPE | string |
None. |
|
| NAME | string |
None. |
|
| LINK | string |
None. |
|
| UPRN | string |
None. |
|
| pao | string |
None. |
|
| postcode | string |
None. |
|
| MAP_EAST | decimal number |
None. |
|
| MAP_NORTH | decimal number |
None. |
|
| Latitude | decimal number |
None. |
|
| Longitude | decimal number |
None. |
|
| Distance | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"OBJECTID": 1,
"TYPE": "sample string 2",
"NAME": "sample string 3",
"LINK": "sample string 4",
"UPRN": "sample string 5",
"pao": "sample string 6",
"postcode": "sample string 7",
"MAP_EAST": 8.0,
"MAP_NORTH": 9.0,
"Latitude": 10.1,
"Longitude": 11.1,
"Distance": 1.1
}
application/xml, text/xml
Sample:
<ServicesOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GISRestAPI.GISData.Entities.Services"> <Distance>1.1</Distance> <LINK>sample string 4</LINK> <Latitude>10.1</Latitude> <Longitude>11.1</Longitude> <MAP_EAST>8</MAP_EAST> <MAP_NORTH>9</MAP_NORTH> <NAME>sample string 3</NAME> <OBJECTID>1</OBJECTID> <TYPE>sample string 2</TYPE> <UPRN>sample string 5</UPRN> <pao>sample string 6</pao> <postcode>sample string 7</postcode> </ServicesOutput>