DocuSign-文档下载 [英] DocuSign - Document Download

查看:140
本文介绍了DocuSign-文档下载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正试图通过Rest API使用DocuSign并遇到一个问题。用户签名文档并重定向到RecipientView(/ accounts / {accountId} / envelopes / {envelopeId} / views / recipient)上指定的URL后,考虑到最佳和最坏情况,我们应该等待多长时间下载签名文件?

I'm trying to use DocuSign via Rest API and ran into a question. After a user signed document and is redirected to the URL that is specified on RecipientView (/accounts/{accountId}/envelopes/{envelopeId}/views/recipient), Considering both best and worst case scenarios, how long should we wait before we download the signed document?

我问这个问题是因为过去我们看到过SigniX的一些问题,在SigniX将控件返回给redirectUrl之后,签名文件是无法下载。即使这种情况发生的次数很少(可能少于所有请求的1%),但每个文档都是$$,并且承受不起丢失的费用。

I'm asking this question because we saw some issues with SigniX in the past where, after SigniX returning the control to redirectUrl, the signed document was not available to download. Even though this happened very little number of times which might be <1% of all requests, Every single document is $$ and cannot afford to lose it.

如果回答我的问题是,请提供一个使用 webhook 的C#示例。

If answer to my question is Yes, Please provide a C# example on using webhook.

谢谢。

推荐答案

您可以设置DocuSign WebHook aka在帐户级别或信封级别连接通知,并在信封完成后自动接收文档。

You can setup DocuSign WebHook aka Connect notifications at your account level or envelope level and automatically receive the Documents when an envelope is completed.

示例 CreateEnvelope 请求以设置连接配置每个信封级别的通知。查看 eventNotification 属性。您所要做的就是托管一个监听器,DocuSign可以向该监听器发送消息。

Here is a sample CreateEnvelope request to setup configuration for the connect notifications per envelope level. Look at eventNotification property. All you have to do is host a listener to which DocuSign can send messages.

{
"emailSubject": "Testing connect notification",
"status": "sent",

"eventNotification": {
    "url": "<Add your listener URL here>",
    "loggingEnabled": "true",
    "requireAcknowledgment": "true",
    "envelopeEvents": [
        {
            "envelopeEventStatusCode": "Completed"
        }
    ],
    "includeDocuments": "true"
},

"recipients": {
    "signers": [
        {
            "name": "john smith",
            "email": "johnsmith@acme.com",
            "recipientId": "1",
            "routingOrder": "1"
        }
    ]
},
"documents": [
    {
        "documentId": "1",
        "name": "Contract",
        "fileExtension": "contract",
        "documentBase64": "DQoNCg0KDQogICAgICAgICBEdW1teSBDb250cmFjdA=="
    }
 ]
}

以下是一些有用的链接,可帮助您进行设置您的连接监听器

Here are some useful links which help you to setup your connect listener

  • WebHook c# recipe
  • More Api Recipes

博客帖子

  • Webhooks: Don’t Poll Us, We’ll Call You!
  • Adding Connect Webhooks to your Application
  • Securing Your Connect Webhook Listener

这篇关于DocuSign-文档下载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆