GET api/VotingStations/GetVotingStationsByEvent?ElectoralEventID={ElectoralEventID}

Details for a voting station list base on event

Request Information

Parameters

NameDescriptionAdditional information
ElectoralEventID
Event id

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Town": "sample string 1",
  "Suburb": "sample string 2",
  "Street": "sample string 3",
  "Latitude": 4.1,
  "Longitude": 5.1,
  "ProvinceID": 6,
  "Province": "sample string 7",
  "MunicipalityID": 8,
  "Municipality": "sample string 9",
  "WardID": 10,
  "VDNumber": 11,
  "VotingDistrict": "sample string 12",
  "VDAddress": "sample string 13"
}

application/xml, text/xml

Sample:
<VotingStationLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IECService.Models">
  <Latitude>4.1</Latitude>
  <Longitude>5.1</Longitude>
  <Municipality>sample string 9</Municipality>
  <MunicipalityID>8</MunicipalityID>
  <Province>sample string 7</Province>
  <ProvinceID>6</ProvinceID>
  <Street>sample string 3</Street>
  <Suburb>sample string 2</Suburb>
  <Town>sample string 1</Town>
  <VDAddress>sample string 13</VDAddress>
  <VDNumber>11</VDNumber>
  <VotingDistrict>sample string 12</VotingDistrict>
  <WardID>10</WardID>
</VotingStationLocation>