GET api/LGECandidates/ElectoralEventID/{ElectoralEventID}/MunicipalityID/{MunicipalityID}

Get LGE ward candidates for an electoral event and municipality

Request Information

Parameters

NameDescriptionAdditional information
ElectoralEventID
Valid Electoral Event IDs can be obtained by invoking the ElectoralEvent Controller's Get action and passing an ElectoralEventTypeID: api/v1/ElectoralEvent?ElectoralEventTypeID={ElectoralEventTypeID}

Define this parameter in the request URI.

MunicipalityID
Valid Municipality IDs can be obtained by invoking the Delimitation Controller's Get Action and passing an ElectoralEventID and ProvinceID:" api/v1/Delimitation?ElectoralEventID={ElectoralEventID}&ProvinceID={ProvinceID}

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "CandidateID": 1,
    "ListOrderNo": 2,
    "PartyID": 3,
    "PartyName": "sample string 4",
    "Surname": "sample string 5",
    "Fullname": "sample string 6"
  },
  {
    "CandidateID": 1,
    "ListOrderNo": 2,
    "PartyID": 3,
    "PartyName": "sample string 4",
    "Surname": "sample string 5",
    "Fullname": "sample string 6"
  },
  {
    "CandidateID": 1,
    "ListOrderNo": 2,
    "PartyID": 3,
    "PartyName": "sample string 4",
    "Surname": "sample string 5",
    "Fullname": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfLGEPRCandidate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IECService.Models">
  <LGEPRCandidate>
    <CandidateID>1</CandidateID>
    <Fullname>sample string 6</Fullname>
    <ListOrderNo>2</ListOrderNo>
    <PartyID>3</PartyID>
    <PartyName>sample string 4</PartyName>
    <Surname>sample string 5</Surname>
  </LGEPRCandidate>
  <LGEPRCandidate>
    <CandidateID>1</CandidateID>
    <Fullname>sample string 6</Fullname>
    <ListOrderNo>2</ListOrderNo>
    <PartyID>3</PartyID>
    <PartyName>sample string 4</PartyName>
    <Surname>sample string 5</Surname>
  </LGEPRCandidate>
  <LGEPRCandidate>
    <CandidateID>1</CandidateID>
    <Fullname>sample string 6</Fullname>
    <ListOrderNo>2</ListOrderNo>
    <PartyID>3</PartyID>
    <PartyName>sample string 4</PartyName>
    <Surname>sample string 5</Surname>
  </LGEPRCandidate>
</ArrayOfLGEPRCandidate>