POST api/News/SaveComment/{Environment}/{NewsID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Environment | string |
Required |
|
| NewsID | string |
Required |
Body Parameters
Comments| Name | Description | Type | Additional information |
|---|---|---|---|
| CommentedBy | string |
None. |
|
| Comment | string |
None. |
|
| CommentedDateTime | date |
None. |
|
| PictureURL | string |
None. |
|
| Culture | string |
None. |
|
| UserName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CommentedBy": "sample string 1",
"Comment": "sample string 2",
"CommentedDateTime": "2025-12-19T09:53:51.9511385+00:00",
"PictureURL": "sample string 4",
"Culture": "sample string 5",
"UserName": "sample string 6"
}
Response Information
Resource Description
ServiceResponseOfCommentResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | CommentResponse |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"CommentSaved": true,
"CommentCount": 2.1,
"Comment": [
{
"CommentedBy": "sample string 1",
"Comment": "sample string 2",
"CommentedDateTime": "2025-12-19T09:53:51.9511385+00:00",
"PictureURL": "sample string 4",
"Culture": "sample string 5",
"UserName": "sample string 6"
},
{
"CommentedBy": "sample string 1",
"Comment": "sample string 2",
"CommentedDateTime": "2025-12-19T09:53:51.9511385+00:00",
"PictureURL": "sample string 4",
"Culture": "sample string 5",
"UserName": "sample string 6"
}
],
"NextPageInfo": {
"PagingInfo": "sample string 1",
"TypeId": "{922354eb-c56a-4d88-ad59-67496854efe1}"
}
}
}