GET api/v1/LGEBallotResults?ElectoralEventID={ElectoralEventID}

Get LGE Ballot Results for a specific electoral event

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.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "ElectoralEventID": 1,
  "ElectoralEvent": "sample string 2",
  "RegisteredVoters": 3,
  "SpoiltVotes": 4,
  "SpecialVotes": 5,
  "PercVoterTurnout": 6.1,
  "TotalVotesCast": 7,
  "TotalValidVotes": 8,
  "VDCount": 9,
  "VDWithResultsCaptured": 10,
  "bResultsComplete": true,
  "ReportDate": "2019-10-15T03:33:21.1779517+02:00",
  "PartyBallotResults": [
    {
      "ID": 1,
      "Name": "sample string 2",
      "Ward_ValidVotes": 3,
      "PR_ValidVotes": 4,
      "DC40Perc_ValidVotes": 5,
      "TotalValidVotes": 6,
      "PercOfVotes": 7.1,
      "IsOnNational": true,
      "Color": "sample string 9"
    },
    {
      "ID": 1,
      "Name": "sample string 2",
      "Ward_ValidVotes": 3,
      "PR_ValidVotes": 4,
      "DC40Perc_ValidVotes": 5,
      "TotalValidVotes": 6,
      "PercOfVotes": 7.1,
      "IsOnNational": true,
      "Color": "sample string 9"
    },
    {
      "ID": 1,
      "Name": "sample string 2",
      "Ward_ValidVotes": 3,
      "PR_ValidVotes": 4,
      "DC40Perc_ValidVotes": 5,
      "TotalValidVotes": 6,
      "PercOfVotes": 7.1,
      "IsOnNational": true,
      "Color": "sample string 9"
    }
  ]
}

application/xml, text/xml

Sample:
<LGEBallotElectoralElectionResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IECService.Models">
  <ElectoralEvent>sample string 2</ElectoralEvent>
  <ElectoralEventID>1</ElectoralEventID>
  <PartyBallotResults>
    <LGEBallotPartyResult>
      <Color>sample string 9</Color>
      <DC40Perc_ValidVotes>5</DC40Perc_ValidVotes>
      <ID>1</ID>
      <IsOnNational>true</IsOnNational>
      <Name>sample string 2</Name>
      <PR_ValidVotes>4</PR_ValidVotes>
      <PercOfVotes>7.1</PercOfVotes>
      <TotalValidVotes>6</TotalValidVotes>
      <Ward_ValidVotes>3</Ward_ValidVotes>
    </LGEBallotPartyResult>
    <LGEBallotPartyResult>
      <Color>sample string 9</Color>
      <DC40Perc_ValidVotes>5</DC40Perc_ValidVotes>
      <ID>1</ID>
      <IsOnNational>true</IsOnNational>
      <Name>sample string 2</Name>
      <PR_ValidVotes>4</PR_ValidVotes>
      <PercOfVotes>7.1</PercOfVotes>
      <TotalValidVotes>6</TotalValidVotes>
      <Ward_ValidVotes>3</Ward_ValidVotes>
    </LGEBallotPartyResult>
    <LGEBallotPartyResult>
      <Color>sample string 9</Color>
      <DC40Perc_ValidVotes>5</DC40Perc_ValidVotes>
      <ID>1</ID>
      <IsOnNational>true</IsOnNational>
      <Name>sample string 2</Name>
      <PR_ValidVotes>4</PR_ValidVotes>
      <PercOfVotes>7.1</PercOfVotes>
      <TotalValidVotes>6</TotalValidVotes>
      <Ward_ValidVotes>3</Ward_ValidVotes>
    </LGEBallotPartyResult>
  </PartyBallotResults>
  <PercVoterTurnout>6.1</PercVoterTurnout>
  <RegisteredVoters>3</RegisteredVoters>
  <ReportDate>2019-10-15T03:33:21.1779517+02:00</ReportDate>
  <SpecialVotes>5</SpecialVotes>
  <SpoiltVotes>4</SpoiltVotes>
  <TotalValidVotes>8</TotalValidVotes>
  <TotalVotesCast>7</TotalVotesCast>
  <VDCount>9</VDCount>
  <VDWithResultsCaptured>10</VDWithResultsCaptured>
  <bResultsComplete>true</bResultsComplete>
</LGEBallotElectoralElectionResult>