简体   繁体   English

从签名的文档DocuSign API检索信息

[英]Retrieving information from a signed document DocuSign API

I am new to DocuSign, have made the tutorials and read through the DocuSign API documentation. 我是DocuSign的新手,已经制作了教程并阅读了DocuSign API文档。 I am developing in Java, and have successfully achieved to send documents for signing from a template to an email address. 我正在用Java开发,并且已经成功实现了将用于签名的文档从模板发送到电子邮件地址的功能。 The document then gets opened, a custom field gets filled out. 然后打开文档,填写自定义字段。 The document gets signed by the user. 该文档由用户签名。

Well now here are two questions that arise for me: 好了,这是我想到的两个问题:

1) Am I right with the assumption that custom fields are to be used for virtually any form field like "Which pets do you have?" 1)我可以假设自定义字段实际上可以用于任何形式的字段,例如“您拥有哪些宠物?”,这是对的吗? that a user is expected to fill out? 用户应该填写吗? Almost all the other fields which I can add when creating a template are being filled out automatically by DocuSign. DocuSign会自动填写创建模板时可以添加的几乎所有其他字段。

2) I have added a name and surname field as well as a custom field and the "sign here" field to the template from which I am sending the document via the API. 2)我在模板中添加了名称和姓氏字段以及自定义字段和“在此处签名”字段,通过API我从模板中发送文档。 Once the recipient has has filled out the information and signed the document, I would like to request the information which the user has entered into the custom field. 收件人填写完信息并签署了文档后,我想请求用户在自定义字段中输入的信息。 How can I do that? 我怎样才能做到这一点? I have found various requests for getting the status of a document or envelope. 我发现了各种获取文件或信封状态的请求。 But never found how I can retrieve the actual user input. 但从未找到如何检索实际的用户输入。

Regards Josef 问候约瑟夫

In DocuSign if you have common tabs that you use for your recipients in your requests then you can use the Custom Fields to create them once then re-use them in your subsequent requests. 在DocuSign中,如果您有用于请求中收件人的通用选项卡,则可以使用“ Custom Fields创建一次,然后在后续请求中重新使用它们。 However, in general if you want to have editable fields where you will gather info from your recipients then you can use the Text field and un-check read-only. 但是,通常,如果您希望具有可编辑的字段,可以在其中收集来自收件人的信息,则可以使用“ Text字段并取消选中只读。 If setting through the API it would look like this: 如果通过API进行设置,则如下所示:

"textTabs": [
    {
      "tabLabel": "NameOfTheTab",
      "value": "12345"
    }

You can read more about using these fields through the Features section of the DocuSign Developer Center . 您可以通过DocuSign开发人员中心的“ 功能”部分阅读有关使用这些字段的更多信息。

With regards to your second question of how to retrieve the data that your recipients fill out, remember that tabs are always specific to recipients (as opposed to the documents themselves) so take a look at the Get Tab Information for Recipient API call. 关于您如何检索收件人填写的数据的第二个问题,请记住选项卡始终特定于收件人(而不是文档本身),因此请查看针对收件人API的“ 获取选项卡信息”调用。

Example: 例:

GET https://{server}/restapi/{apiVersion}/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/tabs

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM