Get form data (including concealed values) via API?

不羁的心 提交于 2019-12-24 04:56:05

问题


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

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.

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.

Thanks, Dan


回答1:


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.

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/{envelopeId}/recipients

HTTP Method: GET

Parameters: The only required parameter is the envelope ID. If the optional query include_tabs is set to true, the tabs associated with the recipient are returned. If the optional query include_extended is set to true, the extended properties are returned.

-Example (from documentation)-

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

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



来源:https://stackoverflow.com/questions/26144948/get-form-data-including-concealed-values-via-api

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