%VOSWARNING%
---++Polls's Programmers Guide
%TOC%
---++Polls Controllers
---+++Poll get
* Description: gets poll by given id
* API name: ODS.ODS_API."poll.get"
* Parameters:
* poll_id
---+++Poll new
* Description: creates new poll
* API name: ODS.ODS_API."poll.new"
* Parameters:
* inst_id
* name
* description
* tags
* multi_vote
* vote_result
* vote_result_before
* vote_result_opened
* date_start
* date_end
* mode
---+++Poll edit
* Description: edits poll
* API name: ODS.ODS_API."poll.edit"
* Parameters:
* poll_id
* name
* description
* tags
* multi_vote
* vote_result
* vote_result_before
* vote_result_opened
* date_start
* date_end
* mode
---+++Poll delete
* Description: deletes poll by given id
* API name: ODS.ODS_API."poll.delete"
* Parameters:
* poll_id
---+++Question new
* Description: creates new question to existing poll
* API name: ODS.ODS_API."poll.question.new"
* Parameters:
* poll_id
* questionNo
* text
* description
* required
* type
* answer
---+++Question delete
* Description: deletes question from poll
* API name: ODS.ODS_API."poll.question.delete"
* Parameters:
* poll_id
* questionNo
---+++Poll activate
* Description: activates poll
* API name: ODS.ODS_API."poll.activate"
* Parameters:
* poll_id
---+++Poll close
* Description: closes poll
* API name: ODS.ODS_API."poll.close"
* Parameters:
* poll_id
---+++Poll clear
* Description: clears poll's result
* API name: ODS.ODS_API."poll.clear"
* Parameters:
* poll_id
---+++Poll vote
* Description: adds vote to poll
* API name: ODS.ODS_API."poll.vote"
* Parameters:
* poll_id
---+++Vote answer
* Description: adds answer to vote
* API name: ODS.ODS_API."poll.vote.answer"
* Parameters:
* vote_id
* questionNo
* answerNo
* value
---+++Poll result
* Description: shows poll's result
* API name: ODS.ODS_API."poll.result"
* Parameters:
* poll_id
---+++Comment get
* Description: gets comment by given id
* API name: ODS.ODS_API."poll.comment.get"
* Parameters:
* comment_id
---+++Comment new
* Description: creates new comment
* API name: ODS.ODS_API."poll.comment.new"
* Parameters:
* poll_id
* parent_id
* title
* text
* name
* email
* url
---+++Comment delete
* Description: deletes comment
* API name: ODS.ODS_API."poll.comment.delete"
* Parameters:
* comment_id
---+++Options set
* Description: sets options
* API name: ODS.ODS_API."poll.options.set"
* Parameters:
* inst_id
* options
---+++Options get
* Description: gets options
* API name: ODS.ODS_API."poll.options.get"
* Parameters:
* inst_id
CategoryODS CategoryOpenSource CategoryPolls