Poll Site Info
This is the main service for the PSL app providing poll site information based on the address used in the call. This poll site information is kept current by the election administrator (account) on a frequent and automated basis making it very important to use this service in a tansactional manner.
Call:
{STREETNUMBER} - house number of address on street - this is required
{STREETNAME} - the name of the street where house is located - this is required
{POSTALCODE} - the zip code of the address of the house - this is highly recommended but is optional if county is used
{COUNTY} - County in which address resides - optional if postal code is used
OR
{LATITUDE} - only supported by election administrators (accounts) that supply polygon data for voting districts
{LONGITUDE} - only supported by election administrators (accounts) that supply polygon data for voting districts
This is the basic call to retrieve poll site information for a given address or geographic coordinates supplied. A subdomain (account) only supports one method of search, either geographic coordinates or address. For an address-based search you must supply a street number, street name and postal code or county. For a geographic coordinate-based search you must supply a latitude point and longitude point.
NOTE: Be sure to include the API Key parameter with your call see api_keys |
Returns:
voter_entrance | location at the poll site where voter can enter building |
trx | internal - ignore |
site_number | the election administrator's unique identifier of poll site |
site_name | the election administrator's name of poll site |
Site_Last_Modified_DTTM | json date of when the poll site information was last modified |
Site_Created_DTTM | json date of when the poll site information was first created |
site_address | street number, street name, city, state and zip of poll site |
senate_district | encompassing senatorial district for the supplied address |
primary_polling_room | description of the polling room for primary elections within the poll site |
objectCount | internal - ignore |
municipal_court_district | encompassing municipal court district for the supplied address |
marker | where the map marker should be placed |
longitude | the approximate longitude for the center of the lot the poll site is on |
location | internal - ignore |
latitude | the approximate latitude for the center of the lot the poll site is on |
judicial_district | encompassing judicial district for the supplied address |
handicap_entrance | the location at the poll site which is handicap accessible |
general_polling_room | description of the polling room for general elections within the poll site |
election_district | encompassing voting district (precinct, ward or election precinct) for supplied address |
elections | array of upcoming declared elections (if any) |
ED_Site_Effective_DTTM | json date when site becomes effective for use |
destination | address or geographic coordinate of poll site to be used for navigational systems |
council_district | encompassing city council district for the supplied address |
congress_district | encompassing US congressional district for the supplied address |
assembly_district | encompassing state assembly district for the supplied address |
election array item contains:
Description | full descriptor of election |
ElectionCode | two character code for the type of election |
ElectionNameNoDate | the descriptor without the date |
ElectionType | type of election |
FilingType | method by which candidates file for the election |
ID | unique integer for the election |
IsArchived | flag for determining the status of the data |
IsNonPartisan | flag indicating whether or not candidates may run under state recognized parties |
MapId | internal identifier relating back to a redistricting map |
objectCount | internal - ignore |
parties | array of parties eligible for the election, see contestlist for more |
SchedulingRuleID | internal identifier for the type of election |
StartDate | JSON representation of the date of the election |
trx | internal - ignore |
YYYYMMDD_StartDate | the election date in yyyymmdd format |
Sample:
Name | Value |
voter_entrance | “81 New Street” |
trx | null |
site_number | “11255” |
site_name | “UASBYW” |
Site_Last_Modified_DTTM | “/Date(-62135568000000-0800)/“ |
Site_Created_DTTM | ”/Date(-62135568000000-0800)/“ |
site_address | “81 New Street, New York, NY 10004” |
senate_district | “26” |
primary_polling_room | ”“ |
objectCount | 0 |
municipal_court_district | “01” |
marker | “81 New Street, New York, NY 10004” |
longitude | ”-74.012526” |
location | null |
latitude | “40.705238” |
judicial_district | “01” |
handicap_entrance | “5 Beaver Street” |
general_polling_room | ““ |
election_district | “001/65” |
elections | … |
Description | “Primary Election 2013 - 09/10/2013” |
ElectionCode | “PR” |
ElectionNameNoDate | “Primary Election 2013” |
ElectionType | “Primary Election” |
FilingType | “Designating” |
ID | 380404 |
IsArchived | “N” |
IsNonPartisan | “N” |
MapId | 4 |
objectCount | 0 |
parties | … |
SchedulingRuleID | 2 |
StartDate | ”/Date(1378796400000-0700)/“ |
trx | null |
YYYYMMDD_StartDate | “20130910” |
ED_Site_Effective_DTTM | ”/Date(-62135568000000-0800)/“ |
destination | “81 New Street, New York, NY 10004” |
council_district | “01” |
congress_district | “10” |
assembly_district | “65” |