otherElections property

List<Election>? otherElections
getter/setter pair

When there are multiple elections for a voter address, the otherElections field is populated in the API response and there are two possibilities: 1.

If the earliest election is not the intended election, specify the election ID of the desired election in a second API request using the electionId field. 2. If these elections occur on the same day, the API doesn?t return any polling location, contest, or election official information to ensure that an additional query is made. For user-facing applications, we recommend displaying these elections to the user to disambiguate. A second API request using the electionId field should be made for the election that is relevant to the user.

Implementation

core.List<Election>? otherElections;