GET CPS/SchoolBoundariesGeoJSON?year={year}&latitude={latitude}&longitude={longitude}&radius={radius}

Get school boundaries map by school year. School year is expected to be end year. ex: 2019-2020 school year => 2020

Request Information

URI Parameters

NameDescriptionTypeAdditional information
year

must be an integer

string

None.

latitude

must be specified if radius is given

string

None.

longitude

must be specified if radius is given

string

None.

radius

if not provided, or is zero, will only return exact intersections with given coordinates.

string

None.

Body Parameters

None.

Response Information

Resource Description

Regardless of request type, result will always be geoJSON text. if no map exists for the requested values, an empty geoJSON object will be returned.

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>