GET race7_electoralunitcandidatesresult/{dbName}/{electoralUnitPartyResultId}/{languageId}
Get candidates results for selected party result ID for election race for canton assemblies on selected language
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| dbName | the name of the database from which data are obtained |
Define this parameter in the request URI. |
| electoralUnitPartyResultId | the ID of the party result from electoral unit |
Define this parameter in the request URI. |
| languageId | the ID of the language in which informations are displayed |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
[
{
"name": "sample string 1",
"percentage": 2.0,
"position": 3,
"totalVotes": 4
},
{
"name": "sample string 1",
"percentage": 2.0,
"position": 3,
"totalVotes": 4
},
{
"name": "sample string 1",
"percentage": 2.0,
"position": 3,
"totalVotes": 4
}
]
application/xml, text/xml
Sample:
<ArrayOfRace7_ElectoralUnitCandidatesResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CIK.WebSite.Model.WebResult.Race7">
<Race7_ElectoralUnitCandidatesResult>
<Name>sample string 1</Name>
<Percentage>2</Percentage>
<Position>3</Position>
<TotalVotes>4</TotalVotes>
</Race7_ElectoralUnitCandidatesResult>
<Race7_ElectoralUnitCandidatesResult>
<Name>sample string 1</Name>
<Percentage>2</Percentage>
<Position>3</Position>
<TotalVotes>4</TotalVotes>
</Race7_ElectoralUnitCandidatesResult>
<Race7_ElectoralUnitCandidatesResult>
<Name>sample string 1</Name>
<Percentage>2</Percentage>
<Position>3</Position>
<TotalVotes>4</TotalVotes>
</Race7_ElectoralUnitCandidatesResult>
</ArrayOfRace7_ElectoralUnitCandidatesResult>