Updates notification preference for the logged-in user.
Updates notification preference for the logged-in user.
Request
URI
PUT
https://{api_host}/notification-service/api/notifications/userPreference
COPY
Query Parameters
integer
page
Optional
Page Number
integer
limit
Optional
Number of entries per page
string
$orderby
Optional
Multiple comma-separated properties sorted in ascending or descending order
integer
$top
Optional
Sets the number of returned entries from the top of the response (total number per page in relation to skip)
integer
$skip
Optional
Sets how many entries you would like to skip
string
$filter
Optional
Boolean expression for whether a particular entry should be included in the response
Request Body
UserNotificationPreference of type(s) application/json
Required
{
"locale": "string",
"version": 0,
"notificationDeliveryMechanisms": [
{
"enabled": false,
"notificationProvider": {
"providerMode": {
"role": "string",
"overriddenGlobalProviderId": "string"
},
"name": "string",
"description": "string",
"providerDirection": "string",
"id": "string",
"type": "string",
"version": 0
}
}
]
}
string
locale
Optional
locale
integer As int64 As int64
version
Optional
version
array of NotificationDeliveryMechanism
notificationDeliveryMechanisms
Required
notificationDeliveryMechanisms
Responses
200
successful operation
Operation doesn't return any data structure
204
Operation doesn't return any data structure
On This Page
Notification Preference Operations
GET
Retrieves the supported notification locales.
GET
Returns A page Of default notification delivery mechanisms for the current tenant.
GET
Returns A page Of notification delivery mechanisms for the logged-in user.
GET
Returns notification preference for the logged-in user.
PUT
Updates notification preference for the logged-in user.