是否可以从签名的DocuSign文档中检索输入的标签值 [英] Is it possible to retrieve entered tag values from a signed DocuSign document
问题描述
我正在使用DocuSign REST API通过/ envelopes / {envelopeID} / views / recipient调用为预定义文档模板创建嵌入式签名。我知道可以在创建信封时预先填充标签值,但是可以在签名完成后检索收件人在给定标签字段中实际提供的值以供应用程序使用吗?如果是这样,有人能举个例子吗?
I am using the DocuSign REST API to created an embedded signing for a predefined document template using the /envelopes/{envelopeID}/views/recipient call. I know it is possible to pre-populate tag values when creating the envelope, but is it possible to retrieve the value the recipient actually provides in a given tag field for use in the application after signing is complete? If so, does anyone have an example?
推荐答案
听起来像您正在尝试通过可选的方法获得信封接收人身份的声音查询include_tabs
https:/ /www.docusign.com/sites/default/files/REST_API_Guide_v2.pdf 第133页
示例请求
GET https://{server}/restapi/{apiVersion}/accounts/{accountId}/envelopes/{envelopeId
}/recipients/?include_tabs=true
X-DocuSign-Authentication:
<DocuSignCredentials><Username>{name}</Username><Password>{password}</Password><Integrato
rKey>{integrator_key}</IntegratorKey></DocuSignCredentials>
Accept: application/json
Content-Type: application/json
响应
响应返回收件人类型和当前路由顺序。收件人类型包括
收件人姓名,电子邮件,ID,收件人类型,路由顺序,身份验证状态(包括日期/时间
和身份验证结果)状态(包括状态的日期/时间)更改),并且如果
收件人的状态被拒绝并且需要原因,则收件人添加的拒绝原因。如果
可选查询include_tabs设置为true,则与
相关的标签
The response returns the recipient types and current routing order. The recipient types includes the recipient name, email, ID, recipient type, routing order, authentication status (including the date/time and result of the authentication) status (including the date/time of the status changes) and, if the recipient status is declined and a reason is required, a decline reason added by the recipient.If the optional query include_tabs is set to true, the tabs associated with the recipient are returned.
以下示例显示了响应json正文
The following example shows the response json body
示例响应
{
"signers": [
{
"tabs": {
"textTabs": [
{
"height": 11,
"name": "Text",
"value": "this is a test",
"width": 66,
"required": "false",
"locked": "false",
"disableAutoSize": "false",
"tabLabel": "TAB1",
"documentId": "1",
"recipientId": "ed0e8744-6243-4708-9186-0e3ccf4cb3a4",
"pageNumber": "1",
"xPosition": "93",
"yPosition": "142",
"tabId": "2c7b4d94-d958-44df-b5a7-2b530ce914ed"
}
这篇关于是否可以从签名的DocuSign文档中检索输入的标签值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!