DELETE api/Forums/DeleteForumPostComment/{id}

Xóa một bình luận của một bài viết diễn đàn

Request Information

URI Parameters

NameDescriptionTypeAdditional 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.

ForumComment
NameDescriptionTypeAdditional information
ID

integer

None.

ForumPostID

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.

ForumPost

ForumPost

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "ForumPostID": 2,
  "Content": "sample string 3",
  "State": 4,
  "TaskforceID": 5,
  "IABoardID": 6,
  "HeartCount": 7,
  "LikeCount": 8,
  "ShareCount": 9,
  "CreatedUserID": 1,
  "CreatedTime": "2026-01-09T22:12:10.8046518+07:00",
  "UpdatedUserID": 1,
  "UpdatedTime": "2026-01-09T22:12:10.8046518+07:00",
  "ForumPost": {
    "$id": "2",
    "ID": 1,
    "ForumTopicID": 2,
    "Title": "sample string 3",
    "Content": "sample string 4",
    "State": 5,
    "TaskforceID": 6,
    "IABoardID": 7,
    "CommentCount": 8,
    "HeartCount": 9,
    "LikeCount": 10,
    "ShareCount": 11,
    "DisplayRange": 12,
    "TFLimitList": "sample string 13",
    "IABLimitList": "sample string 14",
    "CreatedUserID": 1,
    "CreatedTime": "2026-01-09T22:12:10.8046518+07:00",
    "UpdatedUserID": 1,
    "UpdatedTime": "2026-01-09T22:12:10.8046518+07:00",
    "ForumTopic": {
      "$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-01-09T22:12:10.8046518+07:00",
      "UpdatedUserID": 1,
      "UpdatedTime": "2026-01-09T22:12:10.8046518+07:00",
      "forumPosts": [
        {
          "$ref": "2"
        },
        {
          "$ref": "2"
        }
      ]
    },
    "forumComments": [
      {
        "$ref": "1"
      },
      {
        "$ref": "1"
      }
    ],
    "forumPostTFs": [
      {
        "$id": "4",
        "ID": 1,
        "ForumPostID": 2,
        "TaskforceID": 3,
        "ForumTopic": {
          "$ref": "2"
        },
        "Taskforce": {
          "$id": "5",
          "ID": 1,
          "Name": "sample string 2",
          "enName": "sample string 3",
          "Address": "sample string 4",
          "DeleName": "sample string 5",
          "DeleEmail": "sample string 6",
          "DelePhoneNumber": "sample string 7",
          "ConName": "sample string 8",
          "ConEmail": "sample string 9",
          "ConPhoneNumber": "sample string 10",
          "Avatar": "sample string 11",
          "Note": "sample string 12",
          "State": 13,
          "RootFolderID": 14,
          "IntroPageID": 15,
          "CreatedUserID": 1,
          "CreatedTime": "2026-01-09T22:12:10.8046518+07:00",
          "UpdatedUserID": 1,
          "UpdatedTime": "2026-01-09T22:12:10.8046518+07:00",
          "iABoards": [
            {
              "$id": "6",
              "ID": 1,
              "Name": "sample string 2",
              "Description": "sample string 3",
              "Objective": "sample string 4",
              "Vision": "sample string 5",
              "Avatar": "sample string 6",
              "Note": "sample string 7",
              "State": 8,
              "RootFolderID": 9,
              "IntroPageID": 10,
              "CreatedUserID": 1,
              "CreatedTime": "2026-01-09T22:12:10.8046518+07:00",
              "UpdatedUserID": 1,
              "UpdatedTime": "2026-01-09T22:12:10.8046518+07:00",
              "TaskforceID": 11,
              "Taskforce": {
                "$ref": "5"
              },
              "iABoardMembers": [
                {
                  "$id": "7",
                  "ID": 1,
                  "IABoardID": 2,
                  "EmployeeID": 3,
                  "Role": "sample string 4",
                  "Type": 5,
                  "State": 6,
                  "CreatedUserID": 1,
                  "CreatedTime": "2026-01-09T22:12:10.8046518+07:00",
                  "UpdatedUserID": 1,
                  "UpdatedTime": "2026-01-09T22:12:10.8046518+07:00",
                  "IABoard": {
                    "$ref": "6"
                  },
                  "Employee": {
                    "$id": "8",
                    "ID": 1,
                    "EmployeeID": "sample string 2",
                    "FullName": "sample string 3",
                    "Birthday": "2026-01-09T22:12:10.8046518+07:00",
                    "Gender": 4,
                    "PID": "sample string 5",
                    "Email": "sample string 6",
                    "PhoneNumber": "sample string 7",
                    "Address": "sample string 8",
                    "Role": "sample string 9",
                    "Department": "sample string 10",
                    "Avatar": "sample string 11",
                    "Note": "sample string 12",
                    "State": 13,
                    "Ethnic": "sample string 14",
                    "Type": 15,
                    "AcademicTitle": "sample string 16",
                    "AcademicRank": "sample string 17",
                    "CareerTitle": "sample string 18",
                    "Position": "sample string 19",
                    "TaskforceID": 20,
                    "IABoardID": 21,
                    "CreatedUserID": 1,
                    "CreatedTime": "2026-01-09T22:12:10.8046518+07:00",
                    "UpdatedUserID": 1,
                    "UpdatedTime": "2026-01-09T22:12:10.8046518+07:00",
                    "RightGroupMembers": [
                      {
                        "$id": "9",
                        "ID": 1,
                        "RightGroupID": 2,
                        "EmployeeID": 3,
                        "Extra": 4,
                        "State": 5,
                        "CreatedUserID": 1,
                        "CreatedTime": "2026-01-09T22:12:10.8046518+07:00",
                        "UpdatedUserID": 1,
                        "UpdatedTime": "2026-01-09T22:12:10.8046518+07:00",
                        "RightGroup": {
                          "$id": "10",
                          "ID": 1,
                          "Name": "sample string 2",
                          "Rights": "sample string 3",
                          "Note": "sample string 4",
                          "State": 5,
                          "CreatedUserID": 1,
                          "CreatedTime": "2026-01-09T22:12:10.8046518+07:00",
                          "UpdatedUserID": 1,
                          "UpdatedTime": "2026-01-09T22:12:10.8046518+07:00",
                          "RightGroupMembers": [
                            {
                              "$ref": "9"
                            },
                            {
                              "$ref": "9"
                            }
                          ]
                        },
                        "Employee": {
                          "$ref": "8"
                        }
                      },
                      {
                        "$ref": "9"
                      }
                    ]
                  }
                },
                {
                  "$ref": "7"
                }
              ],
              "ForumPostIABs": [
                {
                  "$id": "11",
                  "ID": 1,
                  "ForumPostID": 2,
                  "IABoardID": 3,
                  "ForumTopic": {
                    "$ref": "2"
                  },
                  "IABoard": {
                    "$ref": "6"
                  }
                },
                {
                  "$ref": "11"
                }
              ]
            },
            {
              "$ref": "6"
            }
          ],
          "taskforceMembers": [
            {
              "$id": "12",
              "ID": 1,
              "TaskforceID": 2,
              "EmployeeID": 3,
              "Role": "sample string 4",
              "Type": 5,
              "State": 6,
              "CreatedUserID": 1,
              "CreatedTime": "2026-01-09T22:12:10.8046518+07:00",
              "UpdatedUserID": 1,
              "UpdatedTime": "2026-01-09T22:12:10.8046518+07:00",
              "Taskforce": {
                "$ref": "5"
              },
              "Employee": {
                "$ref": "8"
              }
            },
            {
              "$ref": "12"
            }
          ]
        }
      },
      {
        "$ref": "4"
      }
    ]
  }
}