我可以通过DocuSign API成功创建和管理信封/文档。但是,虽然SignHere选项卡可以正常工作,但其他选项卡(全名,日期)将不会显示。由于“ anchorIgnoreIfNotPresent”标志设置为false,如果未找到锚点,我应该收到一条错误消息,但我没有。 pdf文件看起来非常正确。锚点未放置在任何表单字段中。有什么想法吗?
非常感谢,马里奥
{
"recipients": {
"signers": [{
"email": "info@xyz.com",
"name": "Hans Wurst",
"recipientId": "1",
"tabs": {
"signHereTabs": [{
"anchorString": "*#dssng#*",
"anchorXOffset": "0",
"anchorYOffset": "0",
"anchorIgnoreIfNotPresent": "false",
"anchorUnits": "pixels"
}],
"fullName": [{
"anchorString": "*#dsname#*",
"anchorXOffset": "0",
"anchorYOffset": "0",
"anchorIgnoreIfNotPresent": "false",
"anchorUnits": "pixels"
}],
"date": [{
"anchorString": "*#dsdate#*",
"anchorXOffset": "0",
"anchorYOffset": "0",
"anchorIgnoreIfNotPresent": "false",
"anchorUnits": "pixels"
}]
}
}]
},
"emailSubject": "Neues DocuSign-Dokument zum Unterzeichnen",
"documents": [{
"documentId": "1",
"name": "Contract.pdf",
"documentBase64": "JVBERi0xLjcNJeLjz9n..."
}],
"status": "sent"
}
答案 0 :(得分:1)
JSON中的问题是其他选项卡组应这样复数命名:
"tabs": {
"signHereTabs": [{
"anchorString": "*#dssng#*",
"anchorXOffset": "0",
"anchorYOffset": "0",
"anchorIgnoreIfNotPresent": "false",
"anchorUnits": "pixels"
}],
"fullNameTabs": [{
"anchorString": "*#dsname#*",
"anchorXOffset": "0",
"anchorYOffset": "0",
"anchorIgnoreIfNotPresent": "false",
"anchorUnits": "pixels"
}],
"dateTabs": [{
"anchorString": "*#dsdate#*",
"anchorXOffset": "0",
"anchorYOffset": "0",
"anchorIgnoreIfNotPresent": "false",
"anchorUnits": "pixels"
}]