GET api/v1/LGESeatCalculationResults?ElectoralEventID={ElectoralEventID}&MunicipalityID={MunicipalityID}
Get LGE Ballot results for an electoral event 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. |
| 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",
"Quota": 7,
"TotalSeatsAvailable": 8,
"IndependentSeatsWon": 9,
"WardCouncillorsWithNoPR": 10,
"TotalValidVotes": 11,
"ReportDate": "2025-12-15T18:49:07.662001+02:00",
"PartyResults": [
{
"ID": 1,
"Name": "sample string 2",
"TotalValidVotes": 3,
"TotalPartySeats": 4,
"WardSeats": 5,
"PRSeats": 6
},
{
"ID": 1,
"Name": "sample string 2",
"TotalValidVotes": 3,
"TotalPartySeats": 4,
"WardSeats": 5,
"PRSeats": 6
},
{
"ID": 1,
"Name": "sample string 2",
"TotalValidVotes": 3,
"TotalPartySeats": 4,
"WardSeats": 5,
"PRSeats": 6
}
]
}
application/xml, text/xml
Sample:
<LGESeatCalculationResult 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>
<IndependentSeatsWon>9</IndependentSeatsWon>
<Municipality>sample string 6</Municipality>
<MunicipalityID>5</MunicipalityID>
<PartyResults>
<LGESeatCalcualtionPartyResult>
<ID>1</ID>
<Name>sample string 2</Name>
<PRSeats>6</PRSeats>
<TotalPartySeats>4</TotalPartySeats>
<TotalValidVotes>3</TotalValidVotes>
<WardSeats>5</WardSeats>
</LGESeatCalcualtionPartyResult>
<LGESeatCalcualtionPartyResult>
<ID>1</ID>
<Name>sample string 2</Name>
<PRSeats>6</PRSeats>
<TotalPartySeats>4</TotalPartySeats>
<TotalValidVotes>3</TotalValidVotes>
<WardSeats>5</WardSeats>
</LGESeatCalcualtionPartyResult>
<LGESeatCalcualtionPartyResult>
<ID>1</ID>
<Name>sample string 2</Name>
<PRSeats>6</PRSeats>
<TotalPartySeats>4</TotalPartySeats>
<TotalValidVotes>3</TotalValidVotes>
<WardSeats>5</WardSeats>
</LGESeatCalcualtionPartyResult>
</PartyResults>
<Province>sample string 4</Province>
<ProvinceID>3</ProvinceID>
<Quota>7</Quota>
<ReportDate>2025-12-15T18:49:07.662001+02:00</ReportDate>
<TotalSeatsAvailable>8</TotalSeatsAvailable>
<TotalValidVotes>11</TotalValidVotes>
<WardCouncillorsWithNoPR>10</WardCouncillorsWithNoPR>
</LGESeatCalculationResult>