PUT restapi/personal/lightbulletins/comments/{commentId}/v2
Updates comment's text.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
commentId |
Comment's identifier. |
integer |
Required |
Body Parameters
New comment.
Itslearning.RestApi.Entities.Updatable.LightBulletinCommentUpdateV1Name | 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
System.Net.Http.HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | System.Version |
None. |
|
Content | System.Net.Http.HttpContent |
None. |
|
StatusCode | System.Net.HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | System.Net.Http.HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |