简体   繁体   English

DocuSign API:强制收件人

[英]DocuSign API : Captive recipient

I am using SOAP based API call "CreateAndSendEnvelope" to create an envelope into my DocuSign account for remote recipients. 我正在使用基于SOAP的API调用“CreateAndSendEnvelope”为远程收件人创建一个信封到我的DocuSign帐户。 I haven't used captive recipients and I also have not created any envelopes from templates so far. 我没有使用过专属收件人,到目前为止我还没有从模板中创建任何信封。

My main reason for not creating envelopes from templates is my document to be included in the DocuSign envelope is not static, it gets generated dynamically based upon certain conditions. 我没有从模板创建信封的主要原因是我要包含在DocuSign信封中的文档不是静态的,它是根据某些条件动态生成的。

If I need to include recipients as captive recipients in an envelope, do I always have to create an envelope from a template? 如果我需要将收件人作为信封收件人包含在信封中,我是否始终必须从模板创建信封? As I mentioned earlier, I cannot create an envelope using template as then every time I need to create an envelope, I need to create a template first. 正如我之前提到的,我不能使用模板创建信封,因为每次我需要创建信封时,我需要先创建一个模板。

Is there a way to create an envelope first and then redirect a recipient to a signing page/console/URL? 有没有办法先创建信封,然后将收件人重定向到签名页面/控制台/ URL?

I assume that as remote recipients, captive recipients need not be the DocuSign account users. 我假设作为远程收件人,圈养收件人不必是DocuSign帐户用户。

Yes you can definitely embed recipients without using any templates - they are two separate, unrelated things. 是的,你绝对可以在不使用任何模板的情况下嵌入收件人 - 它们是两个独立的,无关的东西。 To configure embedded recipients through the SOAP API you just need to set their captive info. 要通过SOAP API配置嵌入式收件人,您只需设置其强制信息即可。

On each recipient there is CaptiveInfo property which has a clientUserId element that you need to set if you want to embed them. 在每个收件人上都有CaptiveInfo属性,该属性具有clientUserId元素,如果要嵌入它们,则需要设置该元素。 It's up to you what value to use for each recipient, but you just need to remember that info when later requesting the URL for them. 这取决于您为每个收件人使用的值,但您只需要在以后请求其中的URL时记住该信息。

There's a whole page on the DocuSign Developer Center that discusses Embedding functionality and even though it's tailored for the REST API it will still give you some needed info: DocuSign开发人员中心有一整页讨论嵌入功能,即使它是针对REST API量身定制的,它仍然会为您提供所需的信息:

https://www.docusign.com/developer-center/explore/features/embedding-docusign https://www.docusign.com/developer-center/explore/features/embedding-docusign

Then to link it back to the SOAP API you can view sample code through the DocuSign SOAP SDK that's up on GitHub. 然后将其链接回SOAP API,您可以通过GitHub上的DocuSign SOAP SDK查看示例代码。 It has 5 sample projects, written in Java , PHP , .NET , Ruby , and Salesforce (apex). 它有5个示例项目,用JavaPHP.NETRubySalesforce (apex)编写。

https://github.com/docusign/DocuSign-eSignature-SDK https://github.com/docusign/DocuSign-eSignature-SDK

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

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