GET api/School?Latitude={Latitude}&Longitude={Longitude}&SchoolType={SchoolType}&Result={Result}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Latitude | decimal number |
Required |
|
| Longitude | decimal number |
Required |
|
| SchoolType | string |
Default value is |
|
| Result | integer |
Default value is 1 |
Body Parameters
None.
Response Information
Resource Description
Collection of SchoolOutput| Name | Description | Type | Additional information |
|---|---|---|---|
| OBJECTID_1 | integer |
None. |
|
| BASE_TYPE | string |
None. |
|
| BASE_NAME | string |
None. |
|
| ONE_LINE_A | string |
None. |
|
| VIMT_AREA | string |
None. |
|
| EAST | decimal number |
None. |
|
| NORTH | decimal number |
None. |
|
| UPRN | string |
None. |
|
| SITE_NAME | string |
None. |
|
| Latitude | decimal number |
None. |
|
| Longitude | decimal number |
None. |
|
| Distance | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"OBJECTID_1": 1,
"BASE_TYPE": "sample string 2",
"BASE_NAME": "sample string 3",
"ONE_LINE_A": "sample string 4",
"VIMT_AREA": "sample string 5",
"EAST": 1.0,
"NORTH": 1.0,
"UPRN": "sample string 6",
"SITE_NAME": "sample string 7",
"Latitude": 8.1,
"Longitude": 9.1,
"Distance": 1.1
},
{
"OBJECTID_1": 1,
"BASE_TYPE": "sample string 2",
"BASE_NAME": "sample string 3",
"ONE_LINE_A": "sample string 4",
"VIMT_AREA": "sample string 5",
"EAST": 1.0,
"NORTH": 1.0,
"UPRN": "sample string 6",
"SITE_NAME": "sample string 7",
"Latitude": 8.1,
"Longitude": 9.1,
"Distance": 1.1
}
]
application/xml, text/xml
Sample:
<ArrayOfSchoolOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GISRestAPI.GISData.Entities.School">
<SchoolOutput>
<BASE_NAME>sample string 3</BASE_NAME>
<BASE_TYPE>sample string 2</BASE_TYPE>
<Distance>1.1</Distance>
<EAST>1</EAST>
<Latitude>8.1</Latitude>
<Longitude>9.1</Longitude>
<NORTH>1</NORTH>
<OBJECTID_1>1</OBJECTID_1>
<ONE_LINE_A>sample string 4</ONE_LINE_A>
<SITE_NAME>sample string 7</SITE_NAME>
<UPRN>sample string 6</UPRN>
<VIMT_AREA>sample string 5</VIMT_AREA>
</SchoolOutput>
<SchoolOutput>
<BASE_NAME>sample string 3</BASE_NAME>
<BASE_TYPE>sample string 2</BASE_TYPE>
<Distance>1.1</Distance>
<EAST>1</EAST>
<Latitude>8.1</Latitude>
<Longitude>9.1</Longitude>
<NORTH>1</NORTH>
<OBJECTID_1>1</OBJECTID_1>
<ONE_LINE_A>sample string 4</ONE_LINE_A>
<SITE_NAME>sample string 7</SITE_NAME>
<UPRN>sample string 6</UPRN>
<VIMT_AREA>sample string 5</VIMT_AREA>
</SchoolOutput>
</ArrayOfSchoolOutput>