PUT restapi/personal/lightbulletins/{lightBulletinId}/comments/subscription/v1
Turn on/off notifications for new comments for the light bulletin.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
lightBulletinId |
Identifier of light bulletin. |
integer |
Required |
Body Parameters
Required subscription status.
Itslearning.RestApi.Entities.Updatable.LightBulletinSubscriptionUpdateV1Name | Description | Type | Additional information |
---|---|---|---|
IsSubscribed |
Determines if notifications for the current light bulletin comments should be sent to the current person. |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "IsSubscribed": true }
application/xml, text/xml
Sample:
<LightBulletinSubscriptionUpdateV1 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Itslearning.RestApi.Entities.Updatable"> <IsSubscribed>true</IsSubscribed> </LightBulletinSubscriptionUpdateV1>
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. |