Enables the notification type specified in the request.
Name | Description | Type | Example |
Type
sent in body
|
Notification type (Badges, RoomsActivity, DailyFeed, UsefullTips) | ASC.Web.Core.Notify.NotificationType | |
IsEnabled
sent in body
|
Specifies if the notification type is enabled or not | System.Boolean |
POST api/2.0/settings/notification Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "IsEnabled": true }
Notification settings
application/json
{ "status": 0, "response": { "IsEnabled": true } }
text/xml
<result> <status>0</status> <response> <IsEnabled>True</IsEnabled> </response> </result>