GET api.ashx/v2/forums/threads/replies/{replyid}/votes.{json|xml}
Lists reply votes
Request Parameters
| Name | Type | Location | Description | Required | Default | Options |
|---|---|---|---|---|---|---|
| PageIndex | int | Query String | Specify the page number of paged results to return. Zero-based index. | Optional | 0 | |
| PageSize | int | Query String | Specify the number of results to return per page. | Optional | 20 | |
| ReplyId | int | Query String | Id of the Reply | Required | ||
| SortBy | int | Query String | Sort mechanism | Optional | Date | Date |
| SortOrder | int | Query String | Sort order | Optional | Descending | Ascending,Descending |
| UserId | int | Query String | User Id | Optional | ||
| Value | bool | Query String | Vote Value: Up (true) or Down (false). | Optional | ||
| VoteType | string | Query String | Vote Type | Optional | AnswerVerification | AnswerVerification,Quality |
Example Requests
Widget Javascript
jQuery.telligent.evolution.get({
url: jQuery.telligent.evolution.site.getBaseUrl() + 'api.ashx/v2/forums/threads/replies/{replyid}/votes.json',
data: {
'replyid': '6'
}
}).then(function(response) {
// use response
});Example Responses
JSON
{
"ForumReplyVote": [],
"Errors": [
"string",
"string"
]
}XML
<?xml version="1.0" encoding="utf-16"?>
<Response>
<ForumReplyVote />
<Errors>
<Message>string</Message>
<Message>string</Message>
</Errors>
</Response>