POST (Header:DELETE) api.ashx/v2/forums/{forumid}/threads/{threadid}/replies/{replyid}.{json|xml}
DELETE a forum reply.
Request Parameters
Name | Type | Location | Description | Required | Default | Options |
---|---|---|---|---|---|---|
DeleteChildren | bool? | Delete Children | Optional | |||
DeleteReason | string | Delete Reason | Optional | |||
ForumId | int? | Forum Id | Optional | |||
ReplyId | int | Reply Id | Required | |||
SendAuthorDeleteNotification | bool? | Send Author Delete Notification | Optional | |||
ThreadId | int? | Thread Id | Optional |
Example Requests
Widget Javascript
jQuery.telligent.evolution.del({ url: jQuery.telligent.evolution.site.getBaseUrl() + 'api.ashx/v2/forums/{forumid}/threads/{threadid}/replies/{replyid}.json', data: { 'forumid': '6', 'threadid': '6', 'replyid': '6' } }).then(function(response) { // use response });
Example Responses
JSON
{ "Info": [ "string", "string" ], "Warnings": [ "string", "string" ], "Errors": [ "string", "string" ] }
XML
<?xml version="1.0" encoding="utf-16"?> <Response> <Info> <Message>string</Message> <Message>string</Message> </Info> <Warnings> <Message>string</Message> <Message>string</Message> </Warnings> <Errors> <Message>string</Message> <Message>string</Message> </Errors> </Response>