我对docusign有一个奇怪的问题(C#nuget DocusSign.eSign.dll v.2.0.0)
我有:
在demo.docusign.net上一切正常。 在实时(na2),最初我认为是与文本选项卡共享属性相关的东西,不是那样。
似乎document2文本选项卡在document1文本选项卡上呈现,(使用不同的文本选项卡名称检查,姓氏在两个文档上)。
以下是信封定义的外观(删除了一些值)
{
"documents": [
{
"documentId": "1",
"name": "Agreement 1",
"fileExtension": "docx",
"documentBase64": " removed base64 document"
},
{
"documentId": "2",
"name": "Agreement 2",
"fileExtension": "docx",
"documentBase64": " removed base64 document"
}
],
"recipients": {
"signers": [
{
"tabs": {
"signHereTabs": [
{
"documentId": "1",
"recipientId": "1",
"anchorString": "Signature: _________",
"anchorXOffset": "60",
"anchorYOffset": "8"
},
{
"documentId": "2",
"recipientId": "1",
"anchorString": "Signature: _________",
"anchorXOffset": "60",
"anchorYOffset": "8"
}
],
"textTabs": [
{
"shared": "false",
"name": "Printed Name",
"tabLabel": "Insert Printed Name",
"documentId": "1",
"recipientId": "1",
"anchorString": "Printed Name: _________ ",
"anchorXOffset": "80",
"anchorYOffset": "-5"
},
{
"shared": "false",
"name": "Title",
"tabLabel": "InsertTitle",
"documentId": "1",
"recipientId": "1",
"anchorString": "Title: _________ ",
"anchorXOffset": "60",
"anchorYOffset": "-5"
},
{
"shared": "false",
"name": "Printed Name",
"tabLabel": "Insert Printed Name",
"documentId": "2",
"recipientId": "1",
"anchorString": "Printed Name: _________ ",
"anchorXOffset": "80",
"anchorYOffset": "-5"
},
{
"shared": "false",
"name": "Title",
"tabLabel": "InsertTitle",
"documentId": "2",
"recipientId": "1",
"anchorString": "Title: _________ ",
"anchorXOffset": "60",
"anchorYOffset": "-5"
}
]
},
"name": "Test test",
"email": "testemail@test-company.com",
"recipientId": "1",
"clientUserId": "c82db255-7df6-4b03-9d71-51b1b2ad8f6e"
}
]
},
"emailSubject": "Some agreement"
}
这可能是什么原因?
答案 0 :(得分:0)
您正在使用Docusign Anchor Tags功能。
当DocuSign服务收到包含带有锚信息的选项卡的请求时,它会在文档中搜索anchorString属性的实例。找到后,它会为指定的收件人放置指定类型的选项卡
查看更多信息here
对于您的情况,选项卡的 documentId 与您指定anchorString无关。
您可以通过从标签定义中删除以下内容来简化您的请求
示例请求
{
"documents": [--Documents Array Removed],
"recipients": {
"signers": [
{
"tabs": {
"signHereTabs": [
{
"anchorString": "Signature: _________",
"anchorXOffset": "60",
"anchorYOffset": "8"
}
],
"textTabs": [
{
"shared": "false",
"name": "Printed Name",
"tabLabel": "Insert Printed Name",
"anchorString": "Printed Name: _________ ",
"anchorXOffset": "80",
"anchorYOffset": "-5"
},
{
"shared": "false",
"name": "Title",
"tabLabel": "InsertTitle",
"anchorString": "Title: _________ ",
"anchorXOffset": "60",
"anchorYOffset": "-5"
}
]
},
"name": "Test test",
"email": "testemail@test-company.com",
"recipientId": "1",
"clientUserId": "c82db255-7df6-4b03-9d71-51b1b2ad8f6e"
}
]
},
"emailSubject": "Some agreement"
}