PUT notifications/update

Updates a user notification

Request Information

URI Parameters

None.

Body Parameters

the update request object

UserNotificationUpdateRequest
NameDescriptionTypeAdditional information
UserNotificationId

integer

None.

IsRead

boolean

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "UserNotificationId": 1,
  "IsRead": true,
  "IsActive": true
}

application/xml, text/xml

Sample:
<UserNotificationUpdateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SALT2.Objects.CommunicationObjects">
  <IsActive xmlns="http://schemas.datacontract.org/2004/07/SALT2.Objects">true</IsActive>
  <IsRead>true</IsRead>
  <UserNotificationId>1</UserNotificationId>
</UserNotificationUpdateRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UserNotificationUpdateRequest'.

Response Information

Resource Description

UserNotificationUpdateResponse

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.