DELETE api/PagePosts/DeletePagePostComment/{id}
Xóa một bình luận của một bài viết
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
ID của bình luận cần xóa. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Trả về bình luận đã xóa.
PagePostComment| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| PagePostID | integer |
None. |
|
| Content | string |
Required |
|
| State | integer |
None. |
|
| TaskforceID | integer |
None. |
|
| IABoardID | integer |
None. |
|
| HeartCount | integer |
None. |
|
| LikeCount | integer |
None. |
|
| ShareCount | integer |
None. |
|
| CreatedUserID | integer |
None. |
|
| CreatedTime | date |
None. |
|
| UpdatedUserID | integer |
None. |
|
| UpdatedTime | date |
None. |
|
| PagePost | PagePost |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": 1,
"PagePostID": 2,
"Content": "sample string 3",
"State": 4,
"TaskforceID": 5,
"IABoardID": 6,
"HeartCount": 7,
"LikeCount": 8,
"ShareCount": 9,
"CreatedUserID": 1,
"CreatedTime": "2026-04-19T17:23:02.1795271+07:00",
"UpdatedUserID": 1,
"UpdatedTime": "2026-04-19T17:23:02.1795271+07:00",
"PagePost": {
"$id": "2",
"ID": 1,
"PageTopicID": 2,
"Title": "sample string 3",
"Summary": "sample string 4",
"Content": "sample string 5",
"PrePicture": "sample string 6",
"State": 7,
"Level": 8,
"TaskforceID": 9,
"IABoardID": 10,
"CommentCount": 11,
"HeartCount": 12,
"LikeCount": 13,
"ShareCount": 14,
"en": 15,
"enTitle": "sample string 16",
"enSummary": "sample string 17",
"enContent": "sample string 18",
"CreatedUserID": 1,
"CreatedTime": "2026-04-19T17:23:02.1795271+07:00",
"UpdatedUserID": 1,
"UpdatedTime": "2026-04-19T17:23:02.1795271+07:00",
"PageTopic": {
"$id": "3",
"ID": 1,
"ParentID": 2,
"Content": "sample string 3",
"Level": 4,
"State": 5,
"Note": "sample string 6",
"TaskforceID": 7,
"IABoardID": 8,
"SubTopicCount": 9,
"PostCount": 10,
"CommentCount": 11,
"CreatedUserID": 1,
"CreatedTime": "2026-04-19T17:23:02.1795271+07:00",
"UpdatedUserID": 1,
"UpdatedTime": "2026-04-19T17:23:02.1795271+07:00",
"PagePosts": [
{
"$ref": "2"
},
{
"$ref": "2"
}
]
}
}
}