Enables scripted content fragments to use Notification User Preferences
Methods
List
Lists notification user preferences
Usage
#set($notificationUserPreferencesResponse = $core_v2_notificationUserPreference.List())
Return Type
Update
Updates a notification user preference
Usage
#set($additionalInfoResponse = $core_v2_notificationUserPreference.Update($notificationTypeId, $isEnabled, "%{DistributionTypeId = $distributionTypeIdArg}"))
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
notificationTypeId | Guid | Type of notification type to enable or disable | Required | ||
isEnabled | bool | Whether to enable or disable | Required | ||
DistributionTypeId | Guid | When specified, only enables or disables a specific distribution type for a specific notification type for a user. When not specified. When not specified, the entire notification is enabled or disabled for a user. | Optional |