我遇到DocuSign REST api(v2)嘗試從一組服務器模板(與DS一起存儲的模板)創建信封的問題。我與DS連接,他們接受我的JSON,但是,我得到一個錯誤信息回:DocuSign REST API v2返回錯誤ONESIGNALLSIGN_NOT_SATISFIED
ONESIGNALLSIGN_NOT_SATISFIED =>自由形式簽署不允許您的帳戶,因爲它與其它設置發生衝突,請把每個簽名標籤簽名者。
我無法弄清楚消息實際上是指什麼。實際上,我不包括JSON請求中每個簽名者的選項卡,只是簽名者信息和角色名稱。這與我們用SOAP api成功生成信封的方式非常相似(也就是說,我們不包括帶有每個文檔的簽名者信息的選項卡信息)。
我根據這個例子我JSON:
https://github.com/Ergin008/DocuSign-REST-API-Webinar-April2013/blob/master/example3.json
我已經做了一些廣泛的搜索和閱讀這個問題,並試圖爲構建我發現每個實例的請求JSON許多不同的方式,但似乎這個錯誤阻止了任何前進的進展。唯一的其他地方,我能找到另一個人與此錯誤掙扎的引用在這裏:
Docusign signing url - Showing document 1 of a composite template
我試圖用的一些信息給扭結制定無濟於事。我不完全確定他們參考「文檔可見性」等等...這可能是我的問題...
任何可以提供的幫助,非常感謝!謝謝!
JSON:
{
"status": "sent",
"emailSubject": "Testing DocuSign REST",
"emailBlurb": "",
"compositeTemplates": [
{
"serverTemplates": [
{
"sequence": 1,
"templateId": "9F712D11-2524-433F-98F0-D3ADCC041B42"
}
],
"inlineTemplates": [
{
"sequence": 1,
"recipients": {
"signers": [
{
"recipientId": "28214",
"clientUserId": "28214",
"email": 「[email protected]",
"name": "COLBY",
"roleName": "BORROWER1",
"requireIDLookup": false
},
{
"recipientId": "13020",
"clientUserId": "13020",
"email": 「[email protected]",
"name": 「CHEESE」,
"roleName": "BORROWER3",
"requireIDLookup": false
}
]
},
"customFields": {
"textCustomFields": [
{
"name": "PDF_CLIENT",
"value": "108"
}
]
}
}
]
},
{
"serverTemplates": [
{
"sequence": 2,
"templateId": "06E28E05-FF6F-4CD0-962A-7EBF3EE78BC5"
}
],
"inlineTemplates": [
{
"sequence": 2,
"recipients": {
"signers": [
{
"recipientId": "28214",
"clientUserId": "28214",
"email": 「[email protected]",
"name": "COLBY",
"roleName": "BORROWER1",
"requireIDLookup": false
},
{
"recipientId": "13020",
"clientUserId": "13020",
"email": 「[email protected]",
"name": 「CHEESE」,
"roleName": "BORROWER3",
"requireIDLookup": false
}
]
},
"customFields": {
"textCustomFields": [
{
"name": "PDF_CLIENT",
"value": "108"
}
]
}
}
]
},
{
"serverTemplates": [
{
"sequence": 3,
"templateId": "B702BFAD-DE2C-411E-A7EF-EA1E12805341"
}
],
"inlineTemplates": [
{
"sequence": 3,
"recipients": {
"signers": [
{
"recipientId": "28214",
"clientUserId": "28214",
"email": 「[email protected]",
"name": "COLBY",
"roleName": "BORROWER1",
"requireIDLookup": false
},
{
"recipientId": "13020",
"clientUserId": "13020",
"email": 「[email protected]",
"name": 「CHEESE」,
"roleName": "BORROWER3",
"requireIDLookup": false
}
]
},
"customFields": {
"textCustomFields": [
{
"name": "PDF_CLIENT",
"value": "108"
}
]
}
}
]
}
],
"eventNotification": {
"url": 「oureventhandlingprogramurl」,
"loggingEnabled": true,
"envelopeEvents": [
{
"envelopeEventStatusCode": "Sent",
"includeDocuments": false
},
{
"envelopeEventStatusCode": "Delivered",
"includeDocuments": false
},
{
"envelopeEventStatusCode": "Completed",
"includeDocuments": false
},
{
"envelopeEventStatusCode": "Declined",
"includeDocuments": false
},
{
"envelopeEventStatusCode": "Voided",
"includeDocuments": false
}
]
}
}
和響應
{
"errorCode": "ONESIGNALLSIGN_NOT_SATISFIED",
"message": "Freeform signing is not allowed for your account because it conflicts with other settings, please place signing tabs for each signer."
}