如何在docusign API中读取标准字段 [英] How to read standard fields in the docusign api

查看:97
本文介绍了如何在docusign API中读取标准字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I am implementing qsjava application of docusign, as part of the application it is taking the pdf file from local folder i.e,World_Wide_Corp_lorem.pdf. I want to take that file from my accound Link.

我已经创建了模板,并添加了诸如文本框之类的标准字段。

I have created the Template and I have added the standard fields like text box.

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

Here my question is in the api link i.e, https://demo.docusign.net/restapi/v2.1/accounts/accountid/templates/teplateid, I am not getting the statndard fild that I have added in the template, from which api I will get it. Once I got that field how can I read that my account template api and use that template in my application.

推荐答案

我会回答您的问题,但我不认为这就是您要尝试做的事情。
要检索模板中的文档位,可以使用以下端点:

I'll answer your question, but I don't think that's what you are trying to do. To retrieve the bits of documents inside templates, you can use this endpoint:

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

您需要知道文档的documentId,即通常是一个数字,如果您自行设置,则可以使用 1, 2 etc.a

You need to know the documentId of your document, which is typically a number, if you set it yourself you can use "1", "2" etc.a

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

Now, I wonder if what you want to do is use this template to have someone sign an envelope using that template? that doesn't require you to download the bits.

请参见以下代码示例,该代码示例显示了如果您要这样做的话,如何使用您的模板。

这篇关于如何在docusign API中读取标准字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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