如何阅读文档中的标准字段 api

How to read standard fields in the docusign api

我正在实施 docusign 的 qsjava 应用程序,作为应用程序的一部分,它从本地文件夹即 World_Wide_Corp_lorem.pdf 获取 pdf 文件。我想从我的帐户 Link.

中取出该文件

我已经创建了模板并添加了文本框等标准字段。

这里我的问题是 api link 即 https://demo.docusign.net/restapi/v2.1/accounts/accountid/templates/teplateid,我没有得到我在模板中添加的标准字段,api 我会得到它。 获得该字段后,如何读取我的帐户模板 api 并在我的应用程序中使用该模板。

我会回答你的问题,但我认为这不是你想要做的。 要检索模板内的文档位,您可以使用此端点:

GET /restapi/v2.1/accounts/{accountId}/templates/{templateId}/documents/{documentId}

您需要知道您的文档的documentId,通常是一个数字,如果您自己设置它可以使用“1”、“2”[​​=20=]

现在,我想知道您是否想要使用此模板让某人使用该模板在信封上签名?不需要您下载位。

See this code example that shows how to do this with your template if that's what you're after.