on 08-31-2010 7:28 PM
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
Yes you are right mark, we will need to add an API for that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
9 | |
8 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.