GET api/NPENationalCandidates/ElectoralEventID/{ElectoralEventID}
Get National Candidates for a specific electoral event
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
ElectoralEventID | Valid Province IDs can be obtained by invoking the Delimitation Controller's Get Action and passing an ElectoralEventID: api/v1/Delimitation?ElectoralEventID={ElectoralEventID} |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
[ { "Rank": 1, "ID": 2, "PartyID": 3, "IsIndependent": "sample string 4", "Firstname": "sample string 5", "Surname": "sample string 6", "ListType": "sample string 7", "ProvinceID": 8, "Province": "sample string 9", "PartyAbbr": "sample string 10" }, { "Rank": 1, "ID": 2, "PartyID": 3, "IsIndependent": "sample string 4", "Firstname": "sample string 5", "Surname": "sample string 6", "ListType": "sample string 7", "ProvinceID": 8, "Province": "sample string 9", "PartyAbbr": "sample string 10" }, { "Rank": 1, "ID": 2, "PartyID": 3, "IsIndependent": "sample string 4", "Firstname": "sample string 5", "Surname": "sample string 6", "ListType": "sample string 7", "ProvinceID": 8, "Province": "sample string 9", "PartyAbbr": "sample string 10" } ]
application/xml, text/xml
Sample:
<ArrayOfNPENationalCandidate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IECService.Models"> <NPENationalCandidate> <Firstname>sample string 5</Firstname> <ID>2</ID> <IsIndependent>sample string 4</IsIndependent> <ListType>sample string 7</ListType> <PartyAbbr>sample string 10</PartyAbbr> <PartyID>3</PartyID> <Province>sample string 9</Province> <ProvinceID>8</ProvinceID> <Rank>1</Rank> <Surname>sample string 6</Surname> </NPENationalCandidate> <NPENationalCandidate> <Firstname>sample string 5</Firstname> <ID>2</ID> <IsIndependent>sample string 4</IsIndependent> <ListType>sample string 7</ListType> <PartyAbbr>sample string 10</PartyAbbr> <PartyID>3</PartyID> <Province>sample string 9</Province> <ProvinceID>8</ProvinceID> <Rank>1</Rank> <Surname>sample string 6</Surname> </NPENationalCandidate> <NPENationalCandidate> <Firstname>sample string 5</Firstname> <ID>2</ID> <IsIndependent>sample string 4</IsIndependent> <ListType>sample string 7</ListType> <PartyAbbr>sample string 10</PartyAbbr> <PartyID>3</PartyID> <Province>sample string 9</Province> <ProvinceID>8</ProvinceID> <Rank>1</Rank> <Surname>sample string 6</Surname> </NPENationalCandidate> </ArrayOfNPENationalCandidate>