GET race9_electoralunitpartyresult/{dbName}/{electoralUnitId}/{languageId}

Get party results for selected electoral unit for election race for municipal councilors/municipal assembly 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 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:
[
  {
    "electoralUnitPartyResultId": 1,
    "name": "sample string 2",
    "code": "sample string 3",
    "percentage": 4.0,
    "totalVotes": 5,
    "regularVotes": 1,
    "postOfficeVotes": 1,
    "absenceAndMobileTeamVotes": 1,
    "confirmedVotes": 1,
    "mandates": 1
  },
  {
    "electoralUnitPartyResultId": 1,
    "name": "sample string 2",
    "code": "sample string 3",
    "percentage": 4.0,
    "totalVotes": 5,
    "regularVotes": 1,
    "postOfficeVotes": 1,
    "absenceAndMobileTeamVotes": 1,
    "confirmedVotes": 1,
    "mandates": 1
  },
  {
    "electoralUnitPartyResultId": 1,
    "name": "sample string 2",
    "code": "sample string 3",
    "percentage": 4.0,
    "totalVotes": 5,
    "regularVotes": 1,
    "postOfficeVotes": 1,
    "absenceAndMobileTeamVotes": 1,
    "confirmedVotes": 1,
    "mandates": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfRace9_ElectoralUnitPartyResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CIK.WebSite.Model.WebResult.Race9">
  <Race9_ElectoralUnitPartyResult>
    <AbsenceAndMobileTeamVotes>1</AbsenceAndMobileTeamVotes>
    <Code>sample string 3</Code>
    <ConfirmedVotes>1</ConfirmedVotes>
    <ElectoralUnitPartyResultId>1</ElectoralUnitPartyResultId>
    <Mandates>1</Mandates>
    <Name>sample string 2</Name>
    <Percentage>4</Percentage>
    <PostOfficeVotes>1</PostOfficeVotes>
    <RegularVotes>1</RegularVotes>
    <TotalVotes>5</TotalVotes>
  </Race9_ElectoralUnitPartyResult>
  <Race9_ElectoralUnitPartyResult>
    <AbsenceAndMobileTeamVotes>1</AbsenceAndMobileTeamVotes>
    <Code>sample string 3</Code>
    <ConfirmedVotes>1</ConfirmedVotes>
    <ElectoralUnitPartyResultId>1</ElectoralUnitPartyResultId>
    <Mandates>1</Mandates>
    <Name>sample string 2</Name>
    <Percentage>4</Percentage>
    <PostOfficeVotes>1</PostOfficeVotes>
    <RegularVotes>1</RegularVotes>
    <TotalVotes>5</TotalVotes>
  </Race9_ElectoralUnitPartyResult>
  <Race9_ElectoralUnitPartyResult>
    <AbsenceAndMobileTeamVotes>1</AbsenceAndMobileTeamVotes>
    <Code>sample string 3</Code>
    <ConfirmedVotes>1</ConfirmedVotes>
    <ElectoralUnitPartyResultId>1</ElectoralUnitPartyResultId>
    <Mandates>1</Mandates>
    <Name>sample string 2</Name>
    <Percentage>4</Percentage>
    <PostOfficeVotes>1</PostOfficeVotes>
    <RegularVotes>1</RegularVotes>
    <TotalVotes>5</TotalVotes>
  </Race9_ElectoralUnitPartyResult>
</ArrayOfRace9_ElectoralUnitPartyResult>