POST api/1/Reviews/DeleteReview
Deletes a review identified by the ID in the ReviewsDeleteDTO object. The review must belong to the user makng the call, and belong to the application identified by the calling URL.
Request Information
URI Parameters
None.
Body Parameters
ReviewsDeleteDTOName | Description | Type | Additional information |
---|---|---|---|
ID |
The ID of the review to delete. |
integer |
Required |
UserToken |
The user's auth token issued by the server. |
string |
Required |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "UserToken": "sample string 2" }
application/xml, text/xml
Sample:
<ReviewsDeleteDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RCS.Web.api._1.DTO"> <ID>1</ID> <UserToken>sample string 2</UserToken> </ReviewsDeleteDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |