GET api/Delimitation/ElectoralEventID/{ElectoralEventID}
Returns list of all Provinces for the specified Electoral Event ID
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
ElectoralEventID | Valid Electoral Event IDs can be obtained by invoking the ElectoralEvent Controller's Get action and passing an ElectoralEventTypeID: api/v1/ElectoralEvent?ElectoralEventTypeID={ElectoralEventTypeID} |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
[ { "ProvinceID": 1, "Province": "sample string 2" }, { "ProvinceID": 1, "Province": "sample string 2" }, { "ProvinceID": 1, "Province": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfDelimProvince xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IECService.Models"> <DelimProvince> <Province>sample string 2</Province> <ProvinceID>1</ProvinceID> </DelimProvince> <DelimProvince> <Province>sample string 2</Province> <ProvinceID>1</ProvinceID> </DelimProvince> <DelimProvince> <Province>sample string 2</Province> <ProvinceID>1</ProvinceID> </DelimProvince> </ArrayOfDelimProvince>