Skip to content
vitorbaptista edited this page Aug 27, 2012 · 4 revisions

Description: Get a chioce object
Format: XML
URL: GET /questions/7/choices/15.xml
Parameters:

  • version: optional, string = “all”: Sends all versions of the question inside versions array

Returns:
Choice object

<?xml version="1.0" encoding="UTF-8"?>
<choice>
  <active type="boolean">false</active>
  <created-at type="datetime">2010-07-30T02:25:09+00:00</created-at>
  <creator-id type="integer">2780</creator-id>
  <data>Choice: 3</data>
  <id type="integer">2678</id>
  <item-id type="integer" nil="true"></item-id>
  <local-identifier nil="true"></local-identifier>
  <losses type="integer">0</losses>
  <position type="integer" nil="true"></position>
  <prompt-id type="integer" nil="true"></prompt-id>
  <prompts-count type="integer">0</prompts-count>
  <prompts-on-the-left-count type="integer">0</prompts-on-the-left-count>
  <prompts-on-the-right-count type="integer">0</prompts-on-the-right-count>
  <question-id type="integer">1069</question-id>
  <ratings type="integer" nil="true"></ratings>
  <request-id type="integer" nil="true"></request-id>
  <score type="float">50.0</score>
  <tracking nil="true"></tracking>
  <updated-at type="datetime">2010-07-30T02:25:09+00:00</updated-at>
  <wins type="integer">0</wins>
</choice>

Notes:

  • none