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": "ba36965e-85c8-42bf-bfe9-9fb65c920906",
  "accountGuid": "32d83650-e6c0-4a2e-bd4a-c12faaa4645e"
}

text/plain, application/octet-stream

Sample:
{"newsId":1,"commentGuid":"ba36965e-85c8-42bf-bfe9-9fb65c920906","accountGuid":"32d83650-e6c0-4a2e-bd4a-c12faaa4645e"}

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>32d83650-e6c0-4a2e-bd4a-c12faaa4645e</accountGuid>
  <commentGuid>ba36965e-85c8-42bf-bfe9-9fb65c920906</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>32d83650-e6c0-4a2e-bd4a-c12faaa4645e</accountGuid><commentGuid>ba36965e-85c8-42bf-bfe9-9fb65c920906</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.