GET api/LatestResultsIn/ElectoralEventID/{ElectoralEventID}/NumberOfVDs/{NumberOfVDs}
Returns latest results received in each Voting District
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. |
NumberOfVDs | The number of Voting Districts to return, limited to a maximum of 1000 |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
[ { "VDNumber": 1, "ReleasedDate": "2024-12-03T14:29:33.339385+02:00" }, { "VDNumber": 1, "ReleasedDate": "2024-12-03T14:29:33.339385+02:00" }, { "VDNumber": 1, "ReleasedDate": "2024-12-03T14:29:33.339385+02:00" } ]
application/xml, text/xml
Sample:
<ArrayOfCompletedVotingDistrict xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IECService.Models"> <CompletedVotingDistrict> <ReleasedDate>2024-12-03T14:29:33.339385+02:00</ReleasedDate> <VDNumber>1</VDNumber> </CompletedVotingDistrict> <CompletedVotingDistrict> <ReleasedDate>2024-12-03T14:29:33.339385+02:00</ReleasedDate> <VDNumber>1</VDNumber> </CompletedVotingDistrict> <CompletedVotingDistrict> <ReleasedDate>2024-12-03T14:29:33.339385+02:00</ReleasedDate> <VDNumber>1</VDNumber> </CompletedVotingDistrict> </ArrayOfCompletedVotingDistrict>