我有一个关于 Docusign 的问题,我已发送要签名的文档,完成后我只想要本地完整 pdf 中的一些字段,是否可以填充字段并下载此信封而不使用 REST API 发送或编辑完整的 PDF 吗?
1 回答
在 DocuSign 中,当信封签名并完成后,文档上分层的任何表单字段都将成为文档的一部分。它们被“刻录”到文档内容中,并且其中的一部分向前推进。如果您下载一个完整的信封,您将在文档中看到表单域的值。
另一方面,如果您尝试下载待处理或“处理中”的信封,甚至是尚未发送给任何人的草稿信封,则表单字段的值还不是文档内容的一部分,因为还没有收件人签收。但是,此时仍然可以下载表单字段的值。
要下载 In-Process 或 Draft 信封的表单字段值,您可以进行以下调用,并将include_tabs=true
查询参数附加到 URL:
获取信封收件人状态
This returns the status for all recipients of a single envelope and identifies the current routing order. The current routing order is a number that matches up to the routingOrder for envelope recipients, which shows that the envelope has been sent to a recipient, but the recipient has not completed their actions.
网址:
/accounts/{accountId}/envelopes/{envelopeId}/recipients
可选查询项:include_tabs={true or false}, include_extended={true or false}
格式:
XML, JSON
HTTP方法:
GET
参数:
唯一需要的参数是信封 ID。如果可选查询 include_tabs 设置为 true,则返回与收件人关联的选项卡。如果可选查询 include_extended 设置为 true,则返回扩展属性。
要下载完整的文档,请参阅 API Walkthrough #6,名为Get Document List & Download Docs
:
http://iodocs.docusign.com/apiwalkthroughs
这是演练所做的调用:
获取信封文件和证书
这将检索包含所有文档和证书的组合内容的 PDF。如果帐户启用了突出显示数据更改功能,则可以选择请求突出显示信封中的任何更改。
网址:
/accounts/{accountId}/envelopes/{envelopeId}/documents/combined
可选添加:certificate={true or false}, show_changes={true}, watermark={true or false}
格式:
XML、JSON
HTTP方法:
得到