Docusign组合pdf-我们可以提取单个文档吗? [英] Docusign combined pdf - can we extract the individual documents?

查看:93
本文介绍了Docusign组合pdf-我们可以提取单个文档吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在考虑下载合并的pdf,然后提取单个文档(不是我的主意)。我曾尝试对合并的pdf使用pdfsharp,但在各个文档上都看不到任何标题信息。我只是想知道这是否有可能。如果我使用pdfsharp,它可以拉出所有页面,但是我无法真正知道文档属于哪些页面。

We're looking at is downloading the combined pdf and then extracting the individual documents ( not my idea ). I tried using pdfsharp against my combined pdf, but I don't see any title information on the individual documents. I was just wondering if this is even possible. If I use pdfsharp, it can pull out all the pages, but I have no way of really knowing which pages belong with with document.

推荐答案

创建DocuSign信封后,您可以从信封中读取文档信息,并记住每个文档的页数。

After you create a DocuSign envelope you can read the document information from the envelope and remember the page counts for each document. This should also work if you are using Templates.

您可以使用 EnvelopeDocuments:list API,用于获取文档信息,其中包括每个文档的页面。然后,当您需要从合并的PDF中提取单个文档时,您将知道在何处分离单个文档。

You can use the EnvelopeDocuments: list API to get the document information, which includes pages for each doc. Then when you need to extract the individual documents from the combined PDF you'll know where to separate the individual docs.

以下是列表文档调用的示例API响应:

Here's a sample API response for the list documents call:

{
    "envelopeDocuments": [
        {
            "availableDocumentTypes": [
                {
                    "isDefault": "true",
                    "type": "electronic"
                }
            ],
            "display": "inline",
            "documentId": "1",
            "includeInDownload": "true",
            "name": "NDA.pdf",
            "order": "1",
            "pages": "3",
            "signerMustAcknowledge": "no_interaction",
            "type": "content",
            "uri": "/envelopes/44efc9e6-915e-4b1d-9b54-801410d6922d/documents/1"
        },
        {
            "availableDocumentTypes": [
                {
                    "isDefault": "true",
                    "type": "electronic"
                }
            ],
            "display": "inline",
            "documentId": "2",
            "includeInDownload": "true",
            "name": "House.pdf",
            "order": "2",
            "pages": "1",
            "signerMustAcknowledge": "no_interaction",
            "type": "content",
            "uri": "/envelopes/44efc9e6-915e-4b1d-9b54-801410d6922d/documents/2"
        },
        {
            "availableDocumentTypes": [
                {
                    "isDefault": "true",
                    "type": "electronic"
                }
            ],
            "display": "inline",
            "documentId": "3",
            "includeInDownload": "true",
            "name": "contractor_agreement.docx",
            "order": "3",
            "pages": "2",
            "signerMustAcknowledge": "no_interaction",
            "type": "content",
            "uri": "/envelopes/44efc9e6-915e-4b1d-9b54-801410d6922d/documents/3"
        },
        {
            "availableDocumentTypes": [
                {
                    "isDefault": "true",
                    "type": "electronic"
                }
            ],
            "display": "inline",
            "documentId": "certificate",
            "includeInDownload": "true",
            "name": "Summary",
            "order": "999",
            "pages": "4",
            "signerMustAcknowledge": "no_interaction",
            "type": "summary",
            "uri": "/envelopes/44efc9e6-915e-4b1d-9b54-801410d6922d/documents/certificate"
        }
    ],
    "envelopeId": "44efc9e6-915e-4b1d-9b54-801410d6922d"
}

这篇关于Docusign组合pdf-我们可以提取单个文档吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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