GET api/v1/LGEBallotResults?ElectoralEventID={ElectoralEventID}&ProvinceID={ProvinceID}&MunicipalityID={MunicipalityID}
Get LGE Ballot Results for a specific electoral event, province and municipality
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. |
| ProvinceID | Valid Province IDs can be obtained by invoking the Delimitation Controller's Get Action and passing an ElectoralEventID: api/v1/Delimitation?ElectoralEventID={ElectoralEventID} |
Define this parameter in the request URI. |
| MunicipalityID | Valid Municipality IDs can be obtained by invoking the Delimitation Controller's Get Action and passing an ElectoralEventID and ProvinceID:" api/v1/Delimitation?ElectoralEventID={ElectoralEventID}&ProvinceID={ProvinceID} |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{
"ElectoralEventID": 1,
"ElectoralEvent": "sample string 2",
"ProvinceID": 3,
"Province": "sample string 4",
"MunicipalityID": 5,
"Municipality": "sample string 6",
"RegisteredVoters": 7,
"SpoiltVotes": 8,
"SpecialVotes": 9,
"PercVoterTurnout": 10.1,
"TotalVotesCast": 11,
"TotalValidVotes": 12,
"VDCount": 13,
"VDWithResultsCaptured": 14,
"bResultsComplete": true,
"ReportDate": "2025-12-16T10:34:11.9676598+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:
<LGEBallotMunicipalityResult 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>
<Municipality>sample string 6</Municipality>
<MunicipalityID>5</MunicipalityID>
<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>10.1</PercVoterTurnout>
<Province>sample string 4</Province>
<ProvinceID>3</ProvinceID>
<RegisteredVoters>7</RegisteredVoters>
<ReportDate>2025-12-16T10:34:11.9676598+02:00</ReportDate>
<SpecialVotes>9</SpecialVotes>
<SpoiltVotes>8</SpoiltVotes>
<TotalValidVotes>12</TotalValidVotes>
<TotalVotesCast>11</TotalVotesCast>
<VDCount>13</VDCount>
<VDWithResultsCaptured>14</VDWithResultsCaptured>
<bResultsComplete>true</bResultsComplete>
</LGEBallotMunicipalityResult>