PUT notifications/update
Updates a user notification
Request Information
URI Parameters
None.
Body Parameters
the update request object
UserNotificationUpdateRequest| Name | Description | Type | Additional 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:
Response Information
Resource Description
UserNotificationUpdateResponse
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.