GET   https://api.d-tools.com/SI/Subscribe/Projects/GetProjectComments?id={id}&pageNumber={pageNumber}&pageSize={pageSize}

Get project comments published by a SI user.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The project id.

string

Required

pageNumber

The page number.

integer

Default value is 1

pageSize

The page size.

integer

Default value is 100

Body Parameters

None.

Response Information

Resource Description

ProjectCommentsResult
NameDescriptionTypeAdditional information
ProjectComments

Project comments array

Collection of ProjectComment

None.

TotalCount

Total count of project comments

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "ProjectComments": [
    {
      "Comment": "sample string 1",
      "CommentedOn": "2025-03-06T03:15:40.2317258+00:00",
      "CommentedBy": "sample string 3"
    },
    {
      "Comment": "sample string 1",
      "CommentedOn": "2025-03-06T03:15:40.2317258+00:00",
      "CommentedBy": "sample string 3"
    }
  ],
  "TotalCount": 1
}

application/xml, text/xml

Sample:
<ProjectCommentsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTools.SICloudAPI.DataObjects">
  <ProjectComments>
    <ProjectComment>
      <Comment>sample string 1</Comment>
      <CommentedBy>sample string 3</CommentedBy>
      <CommentedOn>2025-03-06T03:15:40.2317258+00:00</CommentedOn>
    </ProjectComment>
    <ProjectComment>
      <Comment>sample string 1</Comment>
      <CommentedBy>sample string 3</CommentedBy>
      <CommentedOn>2025-03-06T03:15:40.2317258+00:00</CommentedOn>
    </ProjectComment>
  </ProjectComments>
  <TotalCount>1</TotalCount>
</ProjectCommentsResult>