GET api/v1/VotingStationDetails?VDNumber={VDNumber}

Details for a voting station based on the voting district

Request Information

Parameters

NameDescriptionAdditional information
VDNumber
Valid Voting District Numbers can be obtained by invoking the Delimitation Controller's Get Action and passing an ElectoralEventID, ProvinceID, MunicipalityID and WardID: api/v1/Delimitation?ElectoralEventID={ElectoralEventID}&ProvinceID={ProvinceID}&MunicipalityID={MunicipalityID}&WardID={WardID}

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Delimitation": {
    "ProvinceID": 1,
    "Province": "sample string 2",
    "MunicipalityID": 3,
    "Municipality": "sample string 4",
    "WardID": 5,
    "VDNumber": 6
  },
  "Location": {
    "Town": "sample string 1",
    "Suburb": "sample string 2",
    "Street": "sample string 3",
    "Latitude": 4.1,
    "Longitude": 5.1
  }
}

application/xml, text/xml

Sample:
<VotingStation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IECService.Models">
  <Delimitation>
    <Municipality>sample string 4</Municipality>
    <MunicipalityID>3</MunicipalityID>
    <Province>sample string 2</Province>
    <ProvinceID>1</ProvinceID>
    <VDNumber>6</VDNumber>
    <WardID>5</WardID>
  </Delimitation>
  <Location>
    <Latitude>4.1</Latitude>
    <Longitude>5.1</Longitude>
    <Street>sample string 3</Street>
    <Suburb>sample string 2</Suburb>
    <Town>sample string 1</Town>
  </Location>
  <Name>sample string 1</Name>
</VotingStation>