Get results of a poll. Valid for Communifire version 6.0 and above.
Example URL: https://your-community.com/api/polls/10/results
{ "IsError": false, "ResponseMessage": "", "ResponseData": { "PollID": 10, "Question": "What is your favorite color?", "SurveyTitle": "", "UserName": "sunny", "IsLatest": false, "IsSurvey": false, "DateClose": "2019-05-21T07:23:56.073", "CreatedBy": 11, "Votes": 0, "DateCreated": "2019-05-21T07:23:56.073", "SpaceID": 0, "SpaceName": "", "MediaServerID": 1019, "SurveyImageFileName": "", "AllowSurveyRetake": false, "PollUrl": "https://your-community.com/poll/10/what-is-your-favorite-color", "UserProfileURL": "https://your-community.com/people/sunny", "UserDisplayName": "Sunny Drall", "UserAvatarFullUrl": "https://your-community.com/assets/Themes/default/images/avatar-default.jpg", "DateTimeSpan": "43 minutes ago", "PollChoices": [ { "ChoiceID": 16, "PollID": 10, "QuestionID": 0, "Points": 0, "UserID": 0, "Choice": "Green", "Votes": 0, "PollQuestionInputControlType": 0, "SortOrder": 1, "TenantID": 0 }, { "ChoiceID": 17, "PollID": 10, "QuestionID": 0, "Points": 0, "UserID": 0, "Choice": "Red", "Votes": 1, "PollQuestionInputControlType": 0, "SortOrder": 2, "TenantID": 0 }, { "ChoiceID": 18, "PollID": 10, "QuestionID": 0, "Points": 0, "UserID": 0, "Choice": "Blue", "Votes": 0, "PollQuestionInputControlType": 0, "SortOrder": 3, "TenantID": 0 } ], "TenantID": 1 } }
Please Note The 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/32810/rest-api-get-poll-results?locale=en-US%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1
Your session has expired. You are being logged out.