POST api/Users/NotificationSettings

Update user notification settings for the current user.

Request Information

URI Parameters

None.

Body Parameters

Collection of WorkPoint.Core.Models.Notification.NotificationSettings+NotificationProfileNotificationTypes
NameDescriptionTypeAdditional information
ManagedMetadataName

string

None.

ParentManagedMetadataName

string

None.

ManagedMetadataId

globally unique identifier

None.

ParentManagedMetadataId

globally unique identifier

None.

Enable

boolean

None.

EnableEmail

boolean

None.

EnableTeams

boolean

None.

IsLocked

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ManagedMetadataName": "sample string 1",
    "ParentManagedMetadataName": "sample string 2",
    "ManagedMetadataId": "77fcbfb3-d478-4cb7-bee7-b804ef7c5ced",
    "ParentManagedMetadataId": "96aa927b-2702-42af-95db-c762e81a9c4a",
    "Enable": true,
    "EnableEmail": true,
    "EnableTeams": true,
    "IsLocked": true
  },
  {
    "ManagedMetadataName": "sample string 1",
    "ParentManagedMetadataName": "sample string 2",
    "ManagedMetadataId": "77fcbfb3-d478-4cb7-bee7-b804ef7c5ced",
    "ParentManagedMetadataId": "96aa927b-2702-42af-95db-c762e81a9c4a",
    "Enable": true,
    "EnableEmail": true,
    "EnableTeams": true,
    "IsLocked": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfNotificationSettings.NotificationProfileNotificationTypes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WorkPoint.Core.Models.Notification">
  <NotificationSettings.NotificationProfileNotificationTypes>
    <Enable>true</Enable>
    <EnableEmail>true</EnableEmail>
    <EnableTeams>true</EnableTeams>
    <IsLocked>true</IsLocked>
    <ManagedMetadataId>77fcbfb3-d478-4cb7-bee7-b804ef7c5ced</ManagedMetadataId>
    <ManagedMetadataName>sample string 1</ManagedMetadataName>
    <ParentManagedMetadataId>96aa927b-2702-42af-95db-c762e81a9c4a</ParentManagedMetadataId>
    <ParentManagedMetadataName>sample string 2</ParentManagedMetadataName>
  </NotificationSettings.NotificationProfileNotificationTypes>
  <NotificationSettings.NotificationProfileNotificationTypes>
    <Enable>true</Enable>
    <EnableEmail>true</EnableEmail>
    <EnableTeams>true</EnableTeams>
    <IsLocked>true</IsLocked>
    <ManagedMetadataId>77fcbfb3-d478-4cb7-bee7-b804ef7c5ced</ManagedMetadataId>
    <ManagedMetadataName>sample string 1</ManagedMetadataName>
    <ParentManagedMetadataId>96aa927b-2702-42af-95db-c762e81a9c4a</ParentManagedMetadataId>
    <ParentManagedMetadataName>sample string 2</ParentManagedMetadataName>
  </NotificationSettings.NotificationProfileNotificationTypes>
</ArrayOfNotificationSettings.NotificationProfileNotificationTypes>

Response Information

Resource Description

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.