GET race8_electoralunitcandidatesresult/{dbName}/{electoralUnitId}/{languageId}

Get candidates results for selected party result ID for election race for municipal mayors on selected language

Request Information

Parameters

NameDescriptionAdditional information
dbName
the name of the database from which data are obtained

Define this parameter in the request URI.

electoralUnitId
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",
    "code": "sample string 2",
    "percentage": 3.0,
    "totalVotes": 4,
    "regularVotes": 1,
    "postOfficeVotes": 1,
    "absenceAndMobileTeamVotes": 1,
    "confirmedVotes": 1,
    "haveManadates": true
  },
  {
    "name": "sample string 1",
    "code": "sample string 2",
    "percentage": 3.0,
    "totalVotes": 4,
    "regularVotes": 1,
    "postOfficeVotes": 1,
    "absenceAndMobileTeamVotes": 1,
    "confirmedVotes": 1,
    "haveManadates": true
  },
  {
    "name": "sample string 1",
    "code": "sample string 2",
    "percentage": 3.0,
    "totalVotes": 4,
    "regularVotes": 1,
    "postOfficeVotes": 1,
    "absenceAndMobileTeamVotes": 1,
    "confirmedVotes": 1,
    "haveManadates": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfRace8_ElectoralUnitCandidatesResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CIK.WebSite.Model.WebResult.Race8">
  <Race8_ElectoralUnitCandidatesResult>
    <AbsenceAndMobileTeamVotes>1</AbsenceAndMobileTeamVotes>
    <Code>sample string 2</Code>
    <ConfirmedVotes>1</ConfirmedVotes>
    <HaveManadates>true</HaveManadates>
    <Name>sample string 1</Name>
    <Percentage>3</Percentage>
    <PostOfficeVotes>1</PostOfficeVotes>
    <RegularVotes>1</RegularVotes>
    <TotalVotes>4</TotalVotes>
  </Race8_ElectoralUnitCandidatesResult>
  <Race8_ElectoralUnitCandidatesResult>
    <AbsenceAndMobileTeamVotes>1</AbsenceAndMobileTeamVotes>
    <Code>sample string 2</Code>
    <ConfirmedVotes>1</ConfirmedVotes>
    <HaveManadates>true</HaveManadates>
    <Name>sample string 1</Name>
    <Percentage>3</Percentage>
    <PostOfficeVotes>1</PostOfficeVotes>
    <RegularVotes>1</RegularVotes>
    <TotalVotes>4</TotalVotes>
  </Race8_ElectoralUnitCandidatesResult>
  <Race8_ElectoralUnitCandidatesResult>
    <AbsenceAndMobileTeamVotes>1</AbsenceAndMobileTeamVotes>
    <Code>sample string 2</Code>
    <ConfirmedVotes>1</ConfirmedVotes>
    <HaveManadates>true</HaveManadates>
    <Name>sample string 1</Name>
    <Percentage>3</Percentage>
    <PostOfficeVotes>1</PostOfficeVotes>
    <RegularVotes>1</RegularVotes>
    <TotalVotes>4</TotalVotes>
  </Race8_ElectoralUnitCandidatesResult>
</ArrayOfRace8_ElectoralUnitCandidatesResult>