GET api/election/earlyvoting/{lat}/{lng}

Gets Early Voting Information

Request Information

URI Parameters

NameDescriptionTypeAdditional information
lat

string

Required

lng

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ElectionEarlyVoting
NameDescriptionTypeAdditional information
site

string

None.

election_name

string

None.

address

string

None.

city

string

None.

lat

decimal number

None.

lng

decimal number

None.

distance

integer

None.

hours

string

None.

openday

string

None.

closeday

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "site": "sample string 1",
    "election_name": "sample string 2",
    "address": "sample string 3",
    "city": "sample string 4",
    "lat": 5.1,
    "lng": 6.1,
    "distance": 7,
    "hours": "sample string 8",
    "openday": "sample string 9",
    "closeday": "sample string 10"
  },
  {
    "site": "sample string 1",
    "election_name": "sample string 2",
    "address": "sample string 3",
    "city": "sample string 4",
    "lat": 5.1,
    "lng": 6.1,
    "distance": 7,
    "hours": "sample string 8",
    "openday": "sample string 9",
    "closeday": "sample string 10"
  }
]

application/xml, text/xml

Sample:
<ArrayOfElectionEarlyVoting xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.Models">
  <ElectionEarlyVoting>
    <address>sample string 3</address>
    <city>sample string 4</city>
    <closeday>sample string 10</closeday>
    <distance>7</distance>
    <election_name>sample string 2</election_name>
    <hours>sample string 8</hours>
    <lat>5.1</lat>
    <lng>6.1</lng>
    <openday>sample string 9</openday>
    <site>sample string 1</site>
  </ElectionEarlyVoting>
  <ElectionEarlyVoting>
    <address>sample string 3</address>
    <city>sample string 4</city>
    <closeday>sample string 10</closeday>
    <distance>7</distance>
    <election_name>sample string 2</election_name>
    <hours>sample string 8</hours>
    <lat>5.1</lat>
    <lng>6.1</lng>
    <openday>sample string 9</openday>
    <site>sample string 1</site>
  </ElectionEarlyVoting>
</ArrayOfElectionEarlyVoting>