PUT api/Notification/UpdateNotificationPreferences
Request Information
URI Parameters
None.
Body Parameters
UpdateNotificationPreferencesRequestName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
Preferences | Collection of UpdateNotificationPreferencesItem |
None. |
|
Source | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "f7283b58-e4bb-4976-99bd-e7f9c03a6376", "Preferences": [ { "Title": "sample string 1", "Active": true }, { "Title": "sample string 1", "Active": true } ], "Source": "sample string 3" }
application/xml, text/xml
Sample:
<UpdateNotificationPreferencesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Request"> <Id>f7283b58-e4bb-4976-99bd-e7f9c03a6376</Id> <Preferences> <UpdateNotificationPreferencesItem> <Active>true</Active> <Title>sample string 1</Title> </UpdateNotificationPreferencesItem> <UpdateNotificationPreferencesItem> <Active>true</Active> <Title>sample string 1</Title> </UpdateNotificationPreferencesItem> </Preferences> <Source>sample string 3</Source> <UserId>385cd9f7-5d13-4d02-bad1-6a3919e69530</UserId> </UpdateNotificationPreferencesRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UpdateNotificationPreferencesResponseName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true }
application/xml, text/xml
Sample:
<UpdateNotificationPreferencesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Response"> <Success>true</Success> </UpdateNotificationPreferencesResponse>