HTTP request
GET https://api.wevoteusa.org/apis/v1/positionsCountForOneBallotItem (Jump to "Try It Now")
Required Parameters
Parameter name | Value | Description |
voter_device_id | string | An 88 character unique identifier linked to a voter record on the server |
api_key | string (from post, cookie, or get (in that order)) | The unique key provided to any organization using the WeVoteServer APIs |
ballot_item_we_vote_id | string | The unique identifier for one ballot item. |
Response
{ "success": boolean, "status": string, "ballot_item_we_vote_id: string, "ballot_item_list": list (we return a list so this API can be consumed like positionsCountForAllBallotItems) [ "ballot_item_we_vote_id": string, "support_count": integer, "oppose_count": integer, "support_we_vote_id_list": list [ "organization or friend we_vote_id": string, ], "support_name_list": list [ "Speaker Display Name": string, ], "oppose_we_vote_list": list [ "organization or friend we_vote_id": string, ], "oppose_name_list": list [ "Speaker Display Name": string, ], ], }
Try It Now: API Variables
Retrieve all positions held by this voter in one list.