我正在尝试将URL包含在事件通知回调的信封中:
EventNotification eventNotification = new EventNotification();
try
{
eventNotification.Url = ConfigurationManager.AppSettings["DocusignCallbackURL"];
eventNotification.LoggingEnabled = "true";
eventNotification.RequireAcknowledgment = "true";
eventNotification.UseSoapInterface = "false";
eventNotification.IncludeCertificateWithSoap = "false";
eventNotification.SignMessageWithX509Cert = "false";
eventNotification.IncludeDocuments = "true";
eventNotification.IncludeEnvelopeVoidReason = "true";
eventNotification.IncludeTimeZone = "true";
eventNotification.IncludeSenderAccountAsCustomField = "true";
eventNotification.IncludeDocumentFields = "true";
eventNotification.IncludeCertificateOfCompletion = "true";
envDef.EventNotification = eventNotification;
}
catch(Exception ex)
{
log.Error(ex);
}
不幸的是,这似乎不起作用。我在应用程序日志中看不到任何内容,在DocuSign中的日志中也看不到任何内容。还有其他必要的方法来使这项工作吗?我的帐户中是否可以设置从信封中获取URL的地址?
答案 0 :(得分:1)
您并没有告诉DocuSign您想知道哪些事件。
您需要至少指定一个要为其接收通知的事件。有两套潜在的通知。 (如果需要,可以同时使用这两个集合。)
查看元素envelopeEvents
和recipientEvents
还请注意,您的网址必须以https://
开头