activityNoticeListRetrieve
< back to index
HTTP request
GET https://api.wevoteusa.org/apis/v1/activityNoticeListRetrieve (Jump to "Try It Now")
Required Parameters
Parameter name |
Value |
Description |
api_key |
string (from post, cookie, or get (in that order)) |
The unique key provided to any organization using the WeVoteServer APIs |
Optional Parameters
Parameter name |
Value |
Description |
voter_device_id |
string |
Voters device id |
Response
{
"success": boolean,
"status": string,
"activity_notice_list": list
[{
"date_last_changed": string,
"date_of_notice": string,
"id": integer,
"kind_of_notice": string,
"new_positions_entered_count": integer,
"position_we_vote_id_list": list,
"speaker_name": string,
"speaker_organization_we_vote_id": string,
"speaker_voter_we_vote_id": string,
"speaker_profile_image_url_medium": string,
"speaker_profile_image_url_tiny": string,
},],
}
Response Status Codes
Code |
Description |
VALID_VOTER_DEVICE_ID_MISSING |
A valid voter_device_id parameter was not included. Cannot proceed. |
VOTER_NOT_FOUND_FROM_VOTER_DEVICE_ID |
No voter could be found from the voter_device_id |
Try It Now: API Variables
Retrieve a activity_notice_list that we can display to this voter.