C# Docusign-如何将文档发送给多个签名者,并让他们通过API在文档上签名
我想向多人发送一份文档C# Docusign-如何将文档发送给多个签名者,并让他们通过API在文档上签名,c#,asp.net-web-api,docusignapi,C#,Asp.net Web Api,Docusignapi,我想向多人发送一份文档 请求者将文档发送给审批者-1。审批人-1审核并签署文件 Approver-2接收已签名的文档(由Approver-1签名),审核并在同一文档上签名 如何使用DocuSign API实现DocuSign 由于只有一个签名人,它运行良好。如何使其适用于多个签名者 这是我用于API的请求主体 url = Constants.DocusignURL + "/accounts/" + Constants.DocusignAccountId + "/envelopes"; var
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>"
url=Constants.DocusignURL+“/accounts/”+Constants.DocusignAccountId+“/envelopes”;
var templateRole=“签名者”
var requestBody=“”+
“已发送”+
“”+主题文本+“”+
“”+模板ID+“”+
"" +
"" +
“”+recipeintName+“”+
“”+收件人电子邮件+“”+
“”+templateRole+“”+
"" +
"" +
“测试”
"" +
"" +
"" +
"" +
""
不确定如何将多个签名者添加到请求主体您需要为templateRole设置
路由顺序
请查看DocuSign网站上的
做一个有根据的猜测(因为我使用的是,所以语法略有不同),但您需要这样的东西:
<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>
第一签字人
第一。signer@example.com
1.
第二签字人
第二signer@example.com
2.
我们还需要在templateRole节点内指定元素吗?