How to read standard fields in the docusign api

大兔子大兔子 提交于 2020-07-31 04:16:23

问题


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.

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.


回答1:


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}

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.

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



来源:https://stackoverflow.com/questions/62827836/how-to-read-standard-fields-in-the-docusign-api

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!