【问题标题】:ruby docusign api download completed signed documentruby docusign api 下载完成的签名文件
【发布时间】:2017-05-18 11:03:09
【问题描述】:

我正在尝试下载使用 docusign_rest gem 签名的每个已完成文档,但没有关于如何执行此操作的文档。

以下post 表示,DocuSign Web Services API 3.0 SDK 可以检索信封中每个单独文档的完整 PDF。

docusign_rest 是否支持 v3 的 docusign SDK?

我用谷歌搜索了很多次,但没有找到可以使用 ruby​​ 下载完整文档的帖子。

谢谢

【问题讨论】:

    标签: ruby-on-rails ruby download document docusignapi


    【解决方案1】:

    docusign_rest gem 的最新版本 (0.3.1) 现在有一个 get_combined_document_from_envelope method 方法,该方法将返回组合文档。

    【讨论】:

    • 请注意,这不是官方的 DocuSign gem。请参阅官方 DocuSign Github 页面了解支持的库。
    【解决方案2】:

    我不相信 DocuSign 有官方的 Ruby gem/SDK,所以我猜你使用的是社区开发的?如果是这样,请链接到它。

    如果该 gem 不允许下载已完成的文档,您可以将其添加进去。下载已完成的文档只需一个 REST API 调用,请参阅 API 文档中的此页面:

    Retrieving Envelopes and Documents

    调用只是对/envelopes/{envelopeId}/documents/combined URI 的简单GET 请求。原始请求看起来像这样:

    GET http://{server}/restapi/{apiVersion}/accounts/{accountId}/envelopes/{envelopeId}/documents/combined
    
    X-DocuSign-Authentication: <DocuSignCredentials><Username>{name}</Username><Password>{password}</Password><IntegratorKey>{integrator_key}</IntegratorKey></DocuSignCredentials>
    Accept: application/pdf
    Content-Type: application/json
    

    【讨论】:

      猜你喜欢
      • 2022-01-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-03-11
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多