POST api.ashx/v2/forums/threads/{threadid}/vote.{json|xml}
Votes for a thread for the accessing user
Request Parameters
Name | Type | Location | Description | Required | Default | Options |
---|---|---|---|---|---|---|
ThreadId | int | Request Body | Id of the Thread | Required | ||
Value | bool | Request Body | Vote Value: Up (true) or Down (false). Only true is accepted when the VoteType is Interest | Optional | true | |
VoteType | string | Request Body | Either Interest or Quality. Interest can only be on QuestionAndAnswer threads. Only Quality votes can be down voted. | Optional | Interest |