如何使用 C# SDK 设置 DocuSign 通知提醒

How to setup DocuSign Notification Reminders using C# SDK

我正在尝试使用 DocuSign C# SDK 设置提醒延迟和提醒频率。

这是我的代码:

var envelope = new EnvelopeDefinition {Status = Enums.DocumentStatus.Sent.ToString()};

envelope.Notification = new Notification();
envelope.Notification.Reminders = new Reminders();

envelope.Notification.Reminders.ReminderEnabled = "true";
envelope.Notification.Reminders.ReminderFrequency = "10";
envelope.Notification.Reminders.ReminderDelay = "5";

但是没用。我还尝试使用相同的提醒值从 DocuSign 站点发送文档,然后使用 API:

读取通知信息
var api = new EnvelopesApi();
var envelope = api.GetEnvelope(accountId, envelopeId);
var isEnabled = envelope.Notification.Reminders.ReminderEnabled;

但在这种情况下,所有值都为空。

使用 DocuSign C# SDK 设置提醒的正确工作流程是什么?

尝试将通知对象的 UseAccountDefaults 属性 设置为 false:

envelope.Notification.UseAccountDefaults = false.ToString();

SOAP API:

envelope.Notification.UseAccountDefaults = false;
envelope.Notification.UseAccountDefaultsSpecified = true;