PUT api/Notification/UpdateNotificationPreferences
Request Information
URI Parameters
None.
Body Parameters
UpdateNotificationPreferencesRequest| Name | 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": "9c132a35-6483-45b0-b34a-cffe6c044b29",
"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>9c132a35-6483-45b0-b34a-cffe6c044b29</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>b1389a61-2ebb-4413-92d7-9ce1ec34b1c0</UserId>
</UpdateNotificationPreferencesRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UpdateNotificationPreferencesResponse| Name | 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>