-
Notifications
You must be signed in to change notification settings - Fork 34
choices flag
dmitrig edited this page Sep 14, 2010
·
1 revision
Description: Deactivate choice and create new associated flag object
Format: XML
URL: PUT /questions/7/choices/10/flag.xml?explanation=reason
Parameters:
- visitor_identifier: optional, string: Identifier of visitor calling flag
- explanation: optional, string: Reason for flagging this choice
Returns: Modified choice object
<?xml version="1.0" encoding="UTF-8"?>
<choice>
<active type="boolean">false</active>
<created-at type="datetime">2010-07-01T23:48:00+00:00</created-at>
<creator-id type="integer">4</creator-id>
<data>bar</data>
<id type="integer">10</id>
<item-id type="integer" nil="true"></item-id>
<local-identifier nil="true"></local-identifier>
<loss-count type="integer">3</loss-count>
<losses type="integer">3</losses>
<position type="integer" nil="true"></position>
<prompt-id type="integer" nil="true"></prompt-id>
<prompts-count type="integer">5</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">7</question-id>
<ratings type="integer" nil="true"></ratings>
<request-id type="integer" nil="true"></request-id>
<score type="float">69.2308</score>
<tracking nil="true"></tracking>
<updated-at type="datetime">2010-07-07T00:13:39-04:00</updated-at>
<votes-count type="integer">8</votes-count>
<wins type="integer">8</wins>
</choice>
Notes:
- none