Get a list of polls. Valid for Communifire version 6.0 and above.
Example URL to GET: https://your-community.com/api/polls/list?spaceID=14
{ "IsError": false, "ResponseMessage": "", "ResponseData": [ { "PollID": 102, "Question": "What is your favorite color? ", "SurveyTitle": "", "UserName": "admin", "IsLatest": false, "IsSurvey": false, "DateClose": "2018-05-25T21:14:25.343", "CreatedBy": 376, "Votes": 1, "DateCreated": "2018-05-25T21:14:25.343", "SpaceID": 0, "MediaServerID": 28, "SurveyImageFileName": "", "AllowSurveyRetake": false, "PollUrl": "https://your-community.com/poll/102/what-is-your-favorite-color", "UserProfileURL": "https://your-community.com/people/admin", "UserDisplayName": "Alexis Fox", "UserAvatarFullUrl": "https://your-community.com/Assets/Uploaded-Photos/376/f9c8486c-f3f3-41f9-9f46-044093247dc9.jpg", "DateTimeSpan": "5/25/2018", "PollChoices": [ { "ChoiceID": 203, "PollID": 102, "QuestionID": 0, "Points": 0, "UserID": 0, "Choice": "Blue", "Votes": 1, "PollQuestionInputControlType": 0, "SortOrder": 1, "TenantID": 0 }, { "ChoiceID": 204, "PollID": 102, "QuestionID": 0, "Points": 0, "UserID": 0, "Choice": "Red", "Votes": 0, "PollQuestionInputControlType": 0, "SortOrder": 2, "TenantID": 0 } ], "TenantID": 0 } ] }
Please Note Your content type that you pass in the header of your request should be 'application/json'.
is requesting access to a wiki that you have locked: https://my.axerosolutions.com/spaces/5/communifire-documentation/wiki/view/30135/rest-api-get-polls?locale=en-US%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1
Your session has expired. You are being logged out.