GET api/v1/ByElectionCandidatesByEvent?ElectoralEventID={ElectoralEventID}

Get By-Election List Candidates

Request Information

Parameters

NameDescriptionAdditional information
ElectoralEventID
No documentation available.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "ByElectionTypeId": 1,
    "ElectoraleventId": 2,
    "ProvinceId": 3,
    "MunicipalityId": 4,
    "WardId": 5,
    "CandidateID": 6,
    "PartyID": 7,
    "PartyAbbr": "sample string 8",
    "PartyName": "sample string 9",
    "CandidateName": "sample string 10"
  },
  {
    "ByElectionTypeId": 1,
    "ElectoraleventId": 2,
    "ProvinceId": 3,
    "MunicipalityId": 4,
    "WardId": 5,
    "CandidateID": 6,
    "PartyID": 7,
    "PartyAbbr": "sample string 8",
    "PartyName": "sample string 9",
    "CandidateName": "sample string 10"
  },
  {
    "ByElectionTypeId": 1,
    "ElectoraleventId": 2,
    "ProvinceId": 3,
    "MunicipalityId": 4,
    "WardId": 5,
    "CandidateID": 6,
    "PartyID": 7,
    "PartyAbbr": "sample string 8",
    "PartyName": "sample string 9",
    "CandidateName": "sample string 10"
  }
]

application/xml, text/xml

Sample:
<ArrayOfByElectionWardContestants xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IECService.Models">
  <ByElectionWardContestants>
    <ByElectionTypeId>1</ByElectionTypeId>
    <CandidateID>6</CandidateID>
    <CandidateName>sample string 10</CandidateName>
    <ElectoraleventId>2</ElectoraleventId>
    <MunicipalityId>4</MunicipalityId>
    <PartyAbbr>sample string 8</PartyAbbr>
    <PartyID>7</PartyID>
    <PartyName>sample string 9</PartyName>
    <ProvinceId>3</ProvinceId>
    <WardId>5</WardId>
  </ByElectionWardContestants>
  <ByElectionWardContestants>
    <ByElectionTypeId>1</ByElectionTypeId>
    <CandidateID>6</CandidateID>
    <CandidateName>sample string 10</CandidateName>
    <ElectoraleventId>2</ElectoraleventId>
    <MunicipalityId>4</MunicipalityId>
    <PartyAbbr>sample string 8</PartyAbbr>
    <PartyID>7</PartyID>
    <PartyName>sample string 9</PartyName>
    <ProvinceId>3</ProvinceId>
    <WardId>5</WardId>
  </ByElectionWardContestants>
  <ByElectionWardContestants>
    <ByElectionTypeId>1</ByElectionTypeId>
    <CandidateID>6</CandidateID>
    <CandidateName>sample string 10</CandidateName>
    <ElectoraleventId>2</ElectoraleventId>
    <MunicipalityId>4</MunicipalityId>
    <PartyAbbr>sample string 8</PartyAbbr>
    <PartyID>7</PartyID>
    <PartyName>sample string 9</PartyName>
    <ProvinceId>3</ProvinceId>
    <WardId>5</WardId>
  </ByElectionWardContestants>
</ArrayOfByElectionWardContestants>