文章 Update Notification Preference REST 端点

URLs

PUT api/v1/notificationpreference.xml (or .json)

UPDATE a notification preference.

请求参数

名称

类型

描述

必需

默认值

选项

NotificationTypeId

Guid

Id of the notification type

是

DistributionTypeId

Guid?

Id of the distribution type, if not provided, preference for the notification as a whole is set

否

IsEnabled

bool

Enable or disable the notification type for the distribution type

是