GET api/WardByYear?year={year}&latitude={latitude}&longitude={longitude}&returnGeom={returnGeom}
Returns the ward for a specific election year from a point location
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| year |
Election year (2021, 2019, 2016, 2014, 2011, 2009, 2006, 2004, 2000, 1999) |
string |
Required |
| latitude |
Latitude of the Ward to search for |
string |
Required |
| longitude |
Longitude of the Ward to search for |
string |
Required |
| returnGeom |
Return the geometry of the Ward? (Yes/No) |
boolean |
Default value is True |
Body Parameters
None.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |