cancel
Showing results for 
Search instead for 
Did you mean: 

Quick Poll: No way of knowing whether or not current user has voted.

MarkFogle
Advisor
Advisor
0 Kudos

While it is possible to GET Quick Poll Item Data from the API and it is possible to vote using a PUT with a selected option, it doesn't appear that there's any way to know whether or not the current authenticated user has voted. The only way to determine this seems to be to vote blindly and then deal with the response that comes back in the case where a vote has already been cast :

<?xml version="1.0" encoding="UTF-8"?>
<error>
  <http_status>400 Bad Request</http_status>
  <message>You have already voted</message>
</error>

Has anyone else dealt with this issue?

Thanks,

Mark

View Entire Topic
robert_horne
Advisor
Advisor
0 Kudos

Yes you are right mark, we will need to add an API for that.