GET api/schools/magnetschools/{lat}/{lng}
Gets magnet schools by latitude/longitude
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
lat | string |
Required |
|
lng | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of SchoolModelName | Description | Type | Additional information |
---|---|---|---|
name | string |
None. |
|
type | string |
None. |
|
address | string |
None. |
|
city | string |
None. |
|
zipcode | string |
None. |
|
distance | decimal number |
None. |
|
lat | decimal number |
None. |
|
lng | decimal number |
None. |
|
website_url | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "name": "sample string 1", "type": "sample string 2", "address": "sample string 3", "city": "sample string 4", "zipcode": "sample string 5", "distance": 6.1, "lat": 7.1, "lng": 8.1, "website_url": "sample string 9" }, { "name": "sample string 1", "type": "sample string 2", "address": "sample string 3", "city": "sample string 4", "zipcode": "sample string 5", "distance": 6.1, "lat": 7.1, "lng": 8.1, "website_url": "sample string 9" } ]
application/xml, text/xml
Sample:
<ArrayOfSchoolModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.Models"> <SchoolModel> <address>sample string 3</address> <city>sample string 4</city> <distance>6.1</distance> <lat>7.1</lat> <lng>8.1</lng> <name>sample string 1</name> <type>sample string 2</type> <website_url>sample string 9</website_url> <zipcode>sample string 5</zipcode> </SchoolModel> <SchoolModel> <address>sample string 3</address> <city>sample string 4</city> <distance>6.1</distance> <lat>7.1</lat> <lng>8.1</lng> <name>sample string 1</name> <type>sample string 2</type> <website_url>sample string 9</website_url> <zipcode>sample string 5</zipcode> </SchoolModel> </ArrayOfSchoolModel>