以下是我POST
/accounts/{accountId}/envelopes
的Json Envelope定义(包含2个文档和1个接收者),我的期望是SignHereTabs
应该在每个文档上显示一次。但是在Docusign上查看文档时,它会在每个文档上显示SignHereTabs
两次,如下所示。请帮我纠正我的JsonRequest对象,以便在每次出现"anchorString": "!@&"
{
"documents": [
{
"documentBase64": FileBytes,
"documentId": "1",
"name": "NameOfFile1111.pdf"
},
{
"documentBase64": FileBytes,
"documentId": "2",
"name": "NameOfFile2222.pdf"
}
],
"emailSubject": "Test DS Email SUbject",
"recipients": {
"signers": [
{
"clientUserId": "1234",
"email": "joltoher@sezet.com",
"name": "Client11 Client11",
"recipientId": "1",
"tabs": {
"signHereTabs": [
{
"anchorString": "!@&",
"documentId": "1",
"recipientId": "1"
},
{
"anchorString": "!@&",
"documentId": "2",
"recipientId": "1"
}
]
}
}
]
},
"status": "sent",
"eventNotification": {
"url": MyEndPoint,
"envelopeEvents": [
{
"envelopeEventStatusCode": "Completed",
"includeDocuments": "true"
},
{
"envelopeEventStatusCode": "Declined",
"includeDocuments": "false"
}
]
}
}
答案 0 :(得分:2)
由于您使用的是Anchor Tagging,因此您只需设置一个signHereTab
。 DocuSign将找到字符串!@&
的所有实例,并在那里放置一个标签。
更改标签属性,如下所示。我删除了重复的signHereTab。指定 anchorString 时,也不需要 documentId 。同样,也可以删除recipientId,因为tabs
已经是收件人的子级。 recipientId将从父级继承。
"tabs": {
"signHereTabs": [
{
"anchorString": "!@&"
}
]
}