POST (Header:DELETE) api/v2/comments/vote.{json|xml}
Scopes
Comments › Modify Votes comments.votes.modify
Request Parameters
| Name | Type | Location | Description | Required | Default | Options |
|---|---|---|---|---|---|---|
| CommentId | Guid | Request Body | Id of comment | Required |
Example Requests
Widget Javascript
jQuery.telligent.evolution.del({
url: jQuery.telligent.evolution.site.getBaseUrl() + 'api/v2/comments/vote.json',
data: {
'CommentId': '49fec544-6df7-4a82-872b-f8be586d5e9e'
}
}).then(function(response) {
// use response
});Example Responses
JSON
{
"Vote": {"Warnings":[],"Errors":[]},
"Errors": ["string","string"]
}XML
<?xml version="1.0" encoding="utf-16"?>
<Response>
<Vote />
<Errors>
<Message>string</Message>
<Message>string</Message>
</Errors>
</Response>