[英]Docusign - How do I send a document to multiple signers and have them sign on the document through API
I would like to send a document out to multiple people. 我想将文档发送给多个人。
With only one signer,it is working fine. 只有一个签名者,它可以正常工作。 How to make it work for multiple signers. 如何使其适用于多个签名者。
Here is the request body that I am using for API 这是我用于API的请求正文
url = Constants.DocusignURL + "/accounts/" + Constants.DocusignAccountId + "/envelopes";
var templateRole = "Signer"
var requestBody = "<envelopeDefinition xmlns=\"http://www.docusign.com/restapi\">" +
"<status>sent</status>" +
"<emailSubject>" + subjectText + "</emailSubject>" +
"<templateId>" + templateId + "</templateId>" +
"<templateRoles>" +
"<templateRole>" +
"<name>" + recipeintName + "</name>" +
"<email>" + recipientEmail + "</email>" +
"<roleName>" + templateRole + "</roleName>" +
"<tabs>" +
"<textTabs>" +
"Test"
"</textTabs>" +
"</tabs>" +
"</templateRole>" +
"</templateRoles>" +
"</envelopeDefinition>"
Not sure how to add multiple signers to request body 不确定如何向请求正文添加多个签名者
You'll need to set the routingOrder
for the templateRole. 您需要为templateRole设置routingOrder
。
Have a look at the Sample Request with Multiple Recipients on the DocuSign website. 查看DocuSign网站上的“ 具有多个收件人的样本请求” 。
Taking an educated guess (as I'm using the C# client , so slightly different syntax), but you'll need something that looks like this: 进行有根据的猜测(因为我正在使用C#客户端 ,所以语法略有不同),但是您将需要如下所示的内容:
<templateRoles>
<templateRole>
<name>First Signer</name>
<email>first.signer@example.com</email>
<routingOrder>1</routingOrder>
</templateRole>
<templateRole>
<name>Second Signer</name>
<email>second.signer@example.com</email>
<routingOrder>2</routingOrder>
</templateRole>
</templateRoles>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.