POST api/News/DeleteComment

Request Information

URI Parameters

None.

Body Parameters

NewsDeleteCommentModel
NameDescriptionTypeAdditional information
newsId

integer

None.

commentGuid

globally unique identifier

None.

accountGuid

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "newsId": 1,
  "commentGuid": "ad361f3d-9bf0-4d74-a6ee-ab9f7f741858",
  "accountGuid": "4b81ca9d-c013-41b8-8b5a-b5053448207f"
}

text/plain, application/octet-stream

Sample:
{"newsId":1,"commentGuid":"ad361f3d-9bf0-4d74-a6ee-ab9f7f741858","accountGuid":"4b81ca9d-c013-41b8-8b5a-b5053448207f"}

application/xml, text/xml

Sample:
<NewsDeleteCommentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RashakaApi.ApiRequestBody">
  <accountGuid>4b81ca9d-c013-41b8-8b5a-b5053448207f</accountGuid>
  <commentGuid>ad361f3d-9bf0-4d74-a6ee-ab9f7f741858</commentGuid>
  <newsId>1</newsId>
</NewsDeleteCommentModel>

multipart/form-data, application/form-data

Sample:
<NewsDeleteCommentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RashakaApi.ApiRequestBody"><accountGuid>4b81ca9d-c013-41b8-8b5a-b5053448207f</accountGuid><commentGuid>ad361f3d-9bf0-4d74-a6ee-ab9f7f741858</commentGuid><newsId>1</newsId></NewsDeleteCommentModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/plain, application/octet-stream, application/xml, text/xml, multipart/form-data, application/form-data

Sample:

Sample not available.