API Methods: polls.saveAnswer

Description

Saves a user's response to a poll choice.


Authentication

This method requires authentication with 'write' permission.

API Version

Version 1&2

Required parameters

  • poll_id :
    The id of the poll which is being responded to
  • vote_id :
    The id of the choice which was selected as the response

Optional parameters

  • None

Example response

<?xml version="1.0"?>
<response status="ok" time="Fri, 19 Dec 2008 16:22:25 +0000">
    <polls count="1">
        <poll>
            <poll_id>11</poll_id>
        </poll>
    </polls>
</response>