我们与 Docusign 的集成设置为接收每个信封的 Docusign 事件通知,如下所示:
new EventNotification()
{
Url = callbackUrl,
UseSoapInterface = "false",
IncludeEnvelopeVoidReason = "true",
IncludeTimeZone = "true",
SignMessageWithX509Cert = "true",
RequireAcknowledgment = "true",
EnvelopeEvents = new List<EnvelopeEvent>,
RecipientEvents = new List<RecipientEvent>
{
new RecipientEvent{ RecipientEventStatusCode = "Completed"},
new RecipientEvent{ RecipientEventStatusCode = "Declined"}
}
};
在签名者签名时收到通知后,我们使用 DocuSign C# 客户端从 DocuSign 下载文档,如下所示
var envApi = new EnvelopesApi(config);
var documentContent = await envApi.GetDocumentAsync(account.AccountId, envelopeId, "combined");
在许多情况下,我们间歇性地得不到包含最后一个签名者签名的最终文档。
您是否必须收听其他活动才能下载最新版本?