GET restapi/personal/lightbulletins/{lightBulletinId}/comments/v1?UseNewerThan={UseNewerThan}&FromId={FromId}&PageIndex={PageIndex}&PageSize={PageSize}

Gets the list of all comments added for given light bulletin sorted in chronological order (by date creation) from newest to oldest.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
lightBulletinId

Identifier of light bulletin.

integer

Required

UseNewerThan

boolean

None.

FromId

integer

None.

PageIndex

integer

None.

PageSize

integer

None.

Body Parameters

None.

Response Information

Resource Description

EntityListOfItslearning.RestApi.Entities.Comment
NameDescriptionTypeAdditional information
EntityArray

Collection of Itslearning.RestApi.Entities.Comment

None.

Total

integer

None.

CurrentPageIndex

integer

None.

PageSize

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "EntityArray": [
    {
      "Id": 1,
      "Author": {
        "PersonId": 1,
        "FirstName": "sample string 2",
        "LastName": "sample string 3",
        "FullName": "sample string 4",
        "ProfileUrl": "sample string 5",
        "AdditionalInfo": "sample string 6",
        "ProfileImageUrl": "sample string 7",
        "ProfileImageUrlSmall": "sample string 8"
      },
      "CommentText": "sample string 2",
      "AllowEditComment": true,
      "AllowDeleteComment": true,
      "CreatedDateTime": "2025-06-17T05:21:29Z",
      "IsRead": true
    },
    {
      "Id": 1,
      "Author": {
        "PersonId": 1,
        "FirstName": "sample string 2",
        "LastName": "sample string 3",
        "FullName": "sample string 4",
        "ProfileUrl": "sample string 5",
        "AdditionalInfo": "sample string 6",
        "ProfileImageUrl": "sample string 7",
        "ProfileImageUrlSmall": "sample string 8"
      },
      "CommentText": "sample string 2",
      "AllowEditComment": true,
      "AllowDeleteComment": true,
      "CreatedDateTime": "2025-06-17T05:21:29Z",
      "IsRead": true
    }
  ],
  "Total": 1,
  "CurrentPageIndex": 2,
  "PageSize": 3
}

application/xml, text/xml

Sample:
<EntityList xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <CurrentPageIndex>2</CurrentPageIndex>
  <EntityArray>
    <Comment>
      <AllowDeleteComment>true</AllowDeleteComment>
      <AllowEditComment>true</AllowEditComment>
      <Author>
        <AdditionalInfo>sample string 6</AdditionalInfo>
        <FirstName>sample string 2</FirstName>
        <FullName>sample string 4</FullName>
        <LastName>sample string 3</LastName>
        <PersonId>1</PersonId>
        <ProfileImageUrl>sample string 7</ProfileImageUrl>
        <ProfileImageUrlSmall>sample string 8</ProfileImageUrlSmall>
        <ProfileUrl>sample string 5</ProfileUrl>
      </Author>
      <CommentText>sample string 2</CommentText>
      <CreatedDateTime>2025-06-17T05:21:29Z</CreatedDateTime>
      <Id>1</Id>
      <IsRead>true</IsRead>
    </Comment>
    <Comment>
      <AllowDeleteComment>true</AllowDeleteComment>
      <AllowEditComment>true</AllowEditComment>
      <Author>
        <AdditionalInfo>sample string 6</AdditionalInfo>
        <FirstName>sample string 2</FirstName>
        <FullName>sample string 4</FullName>
        <LastName>sample string 3</LastName>
        <PersonId>1</PersonId>
        <ProfileImageUrl>sample string 7</ProfileImageUrl>
        <ProfileImageUrlSmall>sample string 8</ProfileImageUrlSmall>
        <ProfileUrl>sample string 5</ProfileUrl>
      </Author>
      <CommentText>sample string 2</CommentText>
      <CreatedDateTime>2025-06-17T05:21:29Z</CreatedDateTime>
      <Id>1</Id>
      <IsRead>true</IsRead>
    </Comment>
  </EntityArray>
  <PageSize>3</PageSize>
  <Total>1</Total>
</EntityList>