PUT api/v{version}/notificationtype/{customerId}/uchatpreferences?includeNonResident={includeNonResident}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customerId | string |
Required |
|
| includeNonResident | boolean |
Default value is False |
|
| version |
The requested API version |
string |
Required Default value is 2 |
Body Parameters
NotificationTypeCustomerPreferencesUchat| Name | Description | Type | Additional information |
|---|---|---|---|
| enabled | boolean |
None. |
|
| notificationEnabled | boolean |
None. |
|
| roomId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"enabled": true,
"notificationEnabled": true,
"roomId": "sample string 3"
}
text/javascript
Sample:
{"enabled":true,"notificationEnabled":true,"roomId":"sample string 3"}
application/xml, text/xml
Sample:
<NotificationTypeCustomerPreferencesUchat xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNITE.External.API.Models"> <Enabled>true</Enabled> <NotificationEnabled>true</NotificationEnabled> <RoomId>sample string 3</RoomId> </NotificationTypeCustomerPreferencesUchat>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |