POST restapi/personal/lightbulletins/{lightBulletinId}/comments/v2
Adds a new comment for light bulletin.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| lightBulletinId |
Identifier of light bulletin. |
integer |
Required |
Body Parameters
Comment's text.
Itslearning.RestApi.Entities.Updatable.LightBulletinCommentUpdateV1| Name | Description | Type | Additional information |
|---|---|---|---|
| Comment |
Light bulletin comment |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Comment": "sample string 1"
}
application/xml, text/xml
Sample:
<LightBulletinCommentUpdateV1 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Itslearning.RestApi.Entities.Updatable"> <Comment>sample string 1</Comment> </LightBulletinCommentUpdateV1>
application/x-www-form-urlencoded
Sample:
No sample available
Response Information
Resource Description
Returns just added comment.
Itslearning.RestApi.Entities.Comment| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Comment identifier. |
integer |
None. |
| Author |
The person who created the comment. |
Itslearning.RestApi.Entities.PersonSimple |
None. |
| CommentText |
Text message. |
string |
None. |
| AllowEditComment |
|
boolean |
None. |
| AllowDeleteComment |
|
boolean |
None. |
| CreatedDateTime |
Date time in UTC when the comment was created. |
date |
None. |
| IsRead |
|
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"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-10-23T17:50:46Z",
"IsRead": true
}
application/xml, text/xml
Sample:
<Comment xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<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-10-23T17:50:46Z</CreatedDateTime>
<Id>1</Id>
<IsRead>true</IsRead>
</Comment>