GET api/LatestResultsIn/ElectoralEventID/{ElectoralEventID}/NumberOfVDs/{NumberOfVDs}

Returns latest results received in each Voting District

Request Information

Parameters

NameDescriptionAdditional 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": "2019-10-15T03:12:55.8056513+02:00"
  },
  {
    "VDNumber": 1,
    "ReleasedDate": "2019-10-15T03:12:55.8056513+02:00"
  },
  {
    "VDNumber": 1,
    "ReleasedDate": "2019-10-15T03:12:55.8056513+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>2019-10-15T03:12:55.8056513+02:00</ReleasedDate>
    <VDNumber>1</VDNumber>
  </CompletedVotingDistrict>
  <CompletedVotingDistrict>
    <ReleasedDate>2019-10-15T03:12:55.8056513+02:00</ReleasedDate>
    <VDNumber>1</VDNumber>
  </CompletedVotingDistrict>
  <CompletedVotingDistrict>
    <ReleasedDate>2019-10-15T03:12:55.8056513+02:00</ReleasedDate>
    <VDNumber>1</VDNumber>
  </CompletedVotingDistrict>
</ArrayOfCompletedVotingDistrict>