简体   繁体   English

Docusign-如何将文档发送给多个签名者并使他们通过API在文档上签名

[英]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. 我想将文档发送给多个人。

  1. Requestor sends document to Approver-1. 请求者将文档发送到批准者1。 Approver-1 reviews and signs the document 批准人1审核并签署文档
  2. Approver-2 receives the signed document(signed by Approver-1) , reviews and signs on the same document How is it possible with DocuSign using docusign API. 批准人2接收签名的文件(由批准人1签名),在同一文件上进行审阅并签名。如何使用docusign API使用DocuSign。

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.

相关问题 如何允许多个签名者在 DocuSign 中签署同一个文档 - How to allow multiple signer to sign same document in DocuSign DocuSign API-如何让其他签名者或审阅者对完成的文档进行更改? - DocuSign API- How do I let other signer or reviewer make changes to a completed document? 通过 docusign API 为具有多个文档的多个收件人设置文档可见性 - To set document visibility for multiple recipient with multiple document via docusign API 您如何从我的应用程序用户创建 DocuSign 签名者? - How do you create DocuSign Signers from my app users? docusign api下载的文档名称 - Document Names for docusign api downloads 困惑,如何使用密钥并对称地签署文档? - Confused, how do I use a key and sign a document Symmetrically? 如何将文件文档发送到打印机并进行打印? - How can I send a file document to the printer and have it print? DocuSign RestAPI:如何使用 HTTP POST 请求 C# 发送 pdf 文档并将模板应用于文档 - DocuSign RestAPI: How to send pdf document and apply template to the document with HTTP POST request C# 用户使用DocuSign签署文档后如何发送电子邮件和下载文档 - How to Send Email and download the document after user has signed document using DocuSign 我有多个标签,该如何在C#中以编程方式遍历它们 - I have multiple labels how do I go to loop through them programmatically in C#
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM