GET Api/ActionItemCommentsAPI/GetAllAICommentsByActionItemId?actionItemId={actionItemId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
actionItemId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ActionItemCommentsDTO
NameDescriptionTypeAdditional information
Id

integer

None.

ActionItemId

integer

Required

Matching regular expression pattern: ^[0-9]*$

Comment

string

Required

Name

string

None.

SubName

string

None.

CreatedBy

integer

Matching regular expression pattern: ^[0-9]*$

CreatedOn

date

Data type: DateTime

UpdatedBy

integer

Matching regular expression pattern: ^[0-9]*$

UpdatedOn

date

Data type: DateTime

IsActive

boolean

Range: inclusive between false and true

IsDeleted

boolean

Range: inclusive between false and true

IsViewed

boolean

None.

ShowToDepartmentAdmin

boolean

None.

ShowToProjectHead

boolean

None.

RoleId

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "ActionItemId": 2,
    "Comment": "sample string 3",
    "Name": "sample string 4",
    "SubName": "sample string 5",
    "CreatedBy": 6,
    "CreatedOn": "2025-05-25T20:54:49.2516042+04:00",
    "UpdatedBy": 1,
    "UpdatedOn": "2025-05-25T20:54:49.2516042+04:00",
    "IsActive": true,
    "IsDeleted": true,
    "IsViewed": true,
    "ShowToDepartmentAdmin": true,
    "ShowToProjectHead": true,
    "RoleId": "f11e1a06-3b8a-4fe0-8474-c28b558b9227"
  },
  {
    "Id": 1,
    "ActionItemId": 2,
    "Comment": "sample string 3",
    "Name": "sample string 4",
    "SubName": "sample string 5",
    "CreatedBy": 6,
    "CreatedOn": "2025-05-25T20:54:49.2516042+04:00",
    "UpdatedBy": 1,
    "UpdatedOn": "2025-05-25T20:54:49.2516042+04:00",
    "IsActive": true,
    "IsDeleted": true,
    "IsViewed": true,
    "ShowToDepartmentAdmin": true,
    "ShowToProjectHead": true,
    "RoleId": "f11e1a06-3b8a-4fe0-8474-c28b558b9227"
  }
]

text/html, multipart/form-data

Sample:
[{"Id":1,"ActionItemId":2,"Comment":"sample string 3","Name":"sample string 4","SubName":"sample string 5","CreatedBy":6,"CreatedOn":"2025-05-25T20:54:49.2516042+04:00","UpdatedBy":1,"UpdatedOn":"2025-05-25T20:54:49.2516042+04:00","IsActive":true,"IsDeleted":true,"IsViewed":true,"ShowToDepartmentAdmin":true,"ShowToProjectHead":true,"RoleId":"f11e1a06-3b8a-4fe0-8474-c28b558b9227"},{"Id":1,"ActionItemId":2,"Comment":"sample string 3","Name":"sample string 4","SubName":"sample string 5","CreatedBy":6,"CreatedOn":"2025-05-25T20:54:49.2516042+04:00","UpdatedBy":1,"UpdatedOn":"2025-05-25T20:54:49.2516042+04:00","IsActive":true,"IsDeleted":true,"IsViewed":true,"ShowToDepartmentAdmin":true,"ShowToProjectHead":true,"RoleId":"f11e1a06-3b8a-4fe0-8474-c28b558b9227"}]

application/xml, text/xml

Sample:
<ArrayOfActionItemCommentsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSMChecklistFlow.DTO">
  <ActionItemCommentsDTO>
    <ActionItemId>2</ActionItemId>
    <Comment>sample string 3</Comment>
    <CreatedBy>6</CreatedBy>
    <CreatedOn>2025-05-25T20:54:49.2516042+04:00</CreatedOn>
    <Id>1</Id>
    <IsActive>true</IsActive>
    <IsDeleted>true</IsDeleted>
    <IsViewed>true</IsViewed>
    <Name>sample string 4</Name>
    <RoleId>f11e1a06-3b8a-4fe0-8474-c28b558b9227</RoleId>
    <ShowToDepartmentAdmin>true</ShowToDepartmentAdmin>
    <ShowToProjectHead>true</ShowToProjectHead>
    <SubName>sample string 5</SubName>
    <UpdatedBy>1</UpdatedBy>
    <UpdatedOn>2025-05-25T20:54:49.2516042+04:00</UpdatedOn>
  </ActionItemCommentsDTO>
  <ActionItemCommentsDTO>
    <ActionItemId>2</ActionItemId>
    <Comment>sample string 3</Comment>
    <CreatedBy>6</CreatedBy>
    <CreatedOn>2025-05-25T20:54:49.2516042+04:00</CreatedOn>
    <Id>1</Id>
    <IsActive>true</IsActive>
    <IsDeleted>true</IsDeleted>
    <IsViewed>true</IsViewed>
    <Name>sample string 4</Name>
    <RoleId>f11e1a06-3b8a-4fe0-8474-c28b558b9227</RoleId>
    <ShowToDepartmentAdmin>true</ShowToDepartmentAdmin>
    <ShowToProjectHead>true</ShowToProjectHead>
    <SubName>sample string 5</SubName>
    <UpdatedBy>1</UpdatedBy>
    <UpdatedOn>2025-05-25T20:54:49.2516042+04:00</UpdatedOn>
  </ActionItemCommentsDTO>
</ArrayOfActionItemCommentsDTO>