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": "8fbe1508-c6fc-4a68-a7e4-70795c41c2ca", "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>8fbe1508-c6fc-4a68-a7e4-70795c41c2ca</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>00bd69b0-6bed-4827-ba12-7eff054b1213</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>