PUT restapi/personal/lightbulletins/v1

Marks light bulletins as seen.

Request Information

URI Parameters

None.

Body Parameters

List of Light bulletins that should be updated. Since this version only supports IsSeen=true, those are the only ones processed.

Collection of Itslearning.RestApi.Entities.Updatable.LightBulletinUpdateV1
NameDescriptionTypeAdditional information
LightBulletinId

The Id of the light bulletin to update

integer

None.

IsSeen

Determines if the current light bulletin is seen by current person.

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "LightBulletinId": 1,
    "IsSeen": true
  },
  {
    "LightBulletinId": 1,
    "IsSeen": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfLightBulletinUpdateV1 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Itslearning.RestApi.Entities.Updatable">
  <LightBulletinUpdateV1>
    <IsSeen>true</IsSeen>
    <LightBulletinId>1</LightBulletinId>
  </LightBulletinUpdateV1>
  <LightBulletinUpdateV1>
    <IsSeen>true</IsSeen>
    <LightBulletinId>1</LightBulletinId>
  </LightBulletinUpdateV1>
</ArrayOfLightBulletinUpdateV1>

application/x-www-form-urlencoded

Sample:
No sample available

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional 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.