POST api/News/DeleteComment
Request Information
URI Parameters
None.
Body Parameters
NewsDeleteCommentModel| Name | Description | Type | Additional information |
|---|---|---|---|
| newsId | integer |
None. |
|
| commentGuid | globally unique identifier |
None. |
|
| accountGuid | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"newsId": 1,
"commentGuid": "5db271e2-fec4-4fcc-974b-09e493f7fa43",
"accountGuid": "6a861c85-cf3d-4f71-b921-b05e937a267e"
}
text/plain, application/octet-stream
Sample:
{"newsId":1,"commentGuid":"5db271e2-fec4-4fcc-974b-09e493f7fa43","accountGuid":"6a861c85-cf3d-4f71-b921-b05e937a267e"}
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>6a861c85-cf3d-4f71-b921-b05e937a267e</accountGuid> <commentGuid>5db271e2-fec4-4fcc-974b-09e493f7fa43</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>6a861c85-cf3d-4f71-b921-b05e937a267e</accountGuid><commentGuid>5db271e2-fec4-4fcc-974b-09e493f7fa43</commentGuid><newsId>1</newsId></NewsDeleteCommentModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
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.