使用演示API时一切正常。我按照“上线”程序,API密钥现在是“实时”,我更新了所有生产设置。
创建信封时,我收到以下错误消息:
{"errorCode"=>"ACCOUNT_LACKS_PERMISSIONS", "message"=>"This Account lacks sufficient permissions."}
我试图在json上将嵌入参数设置为false,但显然它没有做任何不同的事情。
{:embedded => false,:name => "XXX yyy",:email => "XXX@yyy.com",:role_name => "Propriétaire", :sign_here_tabs => ... }
关于如何解决这个问题的任何想法?谢谢!
编辑:这是JSON请求:
{
"emailBlurb": "deijzed",
"emailSubject": "dzeidjezij",
"documents": [
{
"documentId": "1",
"name": "2017-11-09_21h_50m_52s.pdf"
}
],
"recipients": {
"signers": [
{
"accessCode": "",
"addAccessCodeToEmail": false,
"customFields": null,
"idCheckConfigurationName": null,
"idCheckInformationInput": null,
"inheritEmailNotificationConfiguration": false,
"note": null,
"phoneAuthentication": null,
"recipientAttachment": null,
"requireIdLookup": null,
"roleName": "Propri\u00c3\u00a9taire",
"routingOrder": 1,
"socialAuthentications": null,
"recipientId": 1,
"email": "xxx@company.com",
"name": "xxx yyy",
"autoNavigation": false,
"defaultRecipient": false,
"signatureInfo": null,
"tabs": {
"approveTabs": null,
"checkboxTabs": [
{
}
],
"companyTabs": null,
"dateSignedTabs": [
],
"dateTabs": null,
"declineTabs": null,
"emailTabs": [
],
"envelopeIdTabs": null,
"fullNameTabs": [
],
"listTabs": [
],
"noteTabs": null,
"numberTabs": [
],
"radioGroupTabs": [
{
}
],
"initialHereTabs": [
{
}
],
"signHereTabs": [
{
}
],
"signerAttachmentTabs": null,
"ssnTabs": null,
"textTabs": [
{
}],
"titleTabs": [
],
"zipTabs": null
}
},
{
"accessCode": "",
"addAccessCodeToEmail": false,
"customFields": null,
"idCheckConfigurationName": null,
"idCheckInformationInput": null,
"inheritEmailNotificationConfiguration": false,
"note": null,
"phoneAuthentication": null,
"recipientAttachment": null,
"requireIdLookup": null,
"roleName": "company",
"routingOrder": 2,
"socialAuthentications": null,
"recipientId": 2,
"email": "xxx@yyy.com",
"name": "xxx yyy",
"autoNavigation": false,
"defaultRecipient": false,
"signatureInfo": null,
"tabs": {
"approveTabs": null,
"checkboxTabs": [
],
"companyTabs": null,
"dateSignedTabs": [
{
}
],
"dateTabs": null,
"declineTabs": null,
"emailTabs": [
],
"envelopeIdTabs": null,
"fullNameTabs": [
],
"listTabs": [
],
"noteTabs": null,
"numberTabs": [
],
"radioGroupTabs": [
],
"initialHereTabs": [
{
}
],
"signHereTabs": [
{
}
],
"signerAttachmentTabs": null,
"ssnTabs": null,
"textTabs": [
],
"titleTabs": [
],
"zipTabs": null
}
}
],
"carbonCopies": [
]
},
"eventNotification": {
"useSoapInterface": false,
"includeCertificateWithSoap": false,
"url": "xxxxx",
"loggingEnabled": true,
"envelopeEvents": [
],
"recipientEvents": [
{
"includeDocuments": true,
"recipientEventStatusCode": "Completed"
}
]
},
"status": "sent",
"customFields": null
}
答案 0 :(得分:0)
我可以看到您正在使用“eventNotification”,所以请您检查您使用DocuSign购买的订阅/计划是否支持DocuSign连接。如果没有,那么您需要联系您的DocuSign客户经理以启用此功能。
答案 1 :(得分:0)
问题出在我身边:用于欧洲账户的API端点不是www.docusign,而是eu.docusign
再次感谢您的帮助