我目前没有为签名者和非签名者(cc收件人)指定任何路由顺序。在这种情况下,非签名者只有在签名者签署并完成信封时才会收到电子邮件。我需要非签名者在签名者(签名者签名之前)以及签名者签名和完成后同时收到电子邮件。如何实现这一目标。我异端查看了这个解决方案Docusign - Adding a non signing CC role with same routing order 但是当我尝试不同的角色名称和相同的路由顺序时,我得到了" errorCode":" ENVELOPE_HAS_DUPLICATE_RECIPIENTS", 我们如何区分签名者和非签名者?我试图使用不同的角色名称,但没有奏效。 我的请求json:
{
"status": "created",
"recipients": {
"signers": [{
"tabs": {
"signHereTabs": [],
"initialHereTabs": [],
"dateSignedTabs": []
},
"routingOrder": '1',
"roleName": "Signer",
"recipientId": "1",
"name": "Signer Name",
"email": "someone@somewhere1.com",
"clientUserId": null
}],
"carbonCopies": [{
"routingOrder": "1",
"roleName": "CCRole",
"recipientId": "1",
"email": "someone1@somewhere.com"
}, {
"routingOrder": "2",
"roleName": "CCRole",
"recipientId": "2",
"email": "someone2@somewhere.com"
}]
},
"messagelock": "false",
"emailsubject": "DocuSign:1xxxxx78-03 - Testcase",
"emailblurb": "Please sign attached document(s)",
"documents": [{
"name": "11xxxxxx8-01- Documents",
"documentid": "1",
"documentBase64": null
}],
"customFields": {
"textCustomFields": [{
"value": "a54c00000000ogaAAA",
"show": "false",
"required": "true",
"name": "DSFSSourceObjectId",
"fieldId": null
}]
}
}
答案 0 :(得分:1)
当信封到达特定路由顺序时,同一路由顺序的收件人将同时收到电子邮件。此外,CarbonCopy收件人还会收到一封信封已完成的电子邮件。
文档here
抄送收件人会获得信封的副本,但不需要在任何文件上签名,初始,注明日期或添加信息。此类收件人可以在任何路由顺序中使用。当信封到达流程流程中的收件人订单以及信封完成时,抄送收件人会收到信封的副本。
文档here
您收到ENVELOPE_HAS_DUPLICATE_RECIPIENTS
错误消息,因为您已为多个收件人指定了recipientId = 1
。您也可以删除roleName
,因为没有涉及模板。
这是一个适用于您的用例的示例。我为每个收件人使用唯一的路由顺序和收件人ID。
POST /v2/accounts/{accountId}/envelopes
{
"emailSubject": "Envelope with 1 cc - 1 signer - 1 cc",
"status": "sent",
"recipients": {
"signers": [
{
"email": "AndySigner@acme.com",
"name": "Andy Signer",
"recipientId": "2",
"routingOrder" : "2",
"tabs": {
"signHereTabs": [
{
"documentId": "1","pageNumber": "1", "xPosition": "80", "yPosition": "80",
}
]
}
}
],
"carbonCopies": [
{
"name": "Jane CC",
"email": "Janecc@acme.com",
"recipientId": "1",
"routingOrder": "1"
},
{
"name": "Bob CC",
"email": "BobCC@acme.com",
"recipientId": "3",
"routingOrder": "3"
}
],
},
"documents": [
{
"documentId": "1",
"name": "Contract",
"fileExtension": "txt",
"documentBase64": "RG9jIFRXTyBUV08gVFdP"
}
]
}