GET api/v1/ByElectionCandidates?ElectoralEventID={ElectoralEventID}&MunicipalityID={MunicipalityID}&PartyID={PartyID}

Get By-Election PR List Candidates

Request Information

Parameters

NameDescriptionAdditional information
ElectoralEventID
No documentation available.

Define this parameter in the request URI.

MunicipalityID
No documentation available.

Define this parameter in the request URI.

PartyID
No documentation available.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

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

application/xml, text/xml

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