通过API获取表单数据(包括隐藏值)吗? [英] Get form data (including concealed values) via API?

查看:85
本文介绍了通过API获取表单数据(包括隐藏值)吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在处理一个包含各种用于添加值的字段的表单(texttabs / listtabs / etc)。

I'm working on a Form that contains various fields for adding values (texttabs/ listtabs/ etc).

该表单将发送给两个收件人,其中一个可以访问设置为隐藏(true)的字段的一半,以防止其他收件人查看个人信息。

The form goes to two recipients, one of whom has access to half the fields which have been set to "concealed" (true) to prevent other recipients from viewing personal information.

我的问题是,是否可以通过API检索表单数据(隐藏值)?在Docusign中完成表单后,我想将这些隐藏的值重新附加到API脚本的最终产品中。我到处搜索,但找不到答案。

My question is, is it possible to retrieve the Form Data (concealed values) via API? I'd like to reattach these concealed values to the final product in my API script once the form is completed in Docusign. I searched everywhere but could not find an answer.

谢谢,
Dan

Thanks, Dan

推荐答案

是的,可以通过DocuSign REST API进行。这不是很直观,但是您可以进行API调用来检索收件人输入的值。

Yes this is possible to do through the DocuSign REST API. It's not very intuitive but there's an API call you can make to retrieve the recipient entered values.

看看获取信封收件人状态 API调用,更重要的是,它是一个可选参数。通话详情如下:

Have a look at the Get Envelope Recipient Status API call, and more importantly, it's one optional parameter. Details of the call are:

URL:
/ accounts / {accountId} / envelopes / {信封ID} /收件人

HTTP方法:
GET

参数:
唯一需要的参数是信封ID。如果可选查询include_tabs设置为true,则返回与收件人关联的选项卡。如果将可选查询include_extended设置为true,则返回扩展属性。

-示例(来自文档)-

GET https://{server}/restapi/{apiVersion}/accounts/{accountId}/envelopes/{envelopeId}/recipients?include_tabs=true

X-DocuSign-Authentication: <DocuSignCredentials><Username>{name}</Username><Password>{password}</Password><IntegratorKey>{integrator_key}</IntegratorKey></DocuSignCredentials>
Accept: application/json
Content-Type: application/json

请参阅 REST API指南第192 有关通话的更多信息。

See the REST API Guide page 192 for more info on the call.

这篇关于通过API获取表单数据(包括隐藏值)吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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