繁体   English   中英

Docusign API不发送Webhook事件通知

[英]Docusign API Not Sending Webhook Event Notifications

我似乎无法获得Docusign API eventNotification webhooks发送。 在创建信封时,我已经验证了请求正在发送API所期望的正确的eventNotification JSON哈希值,无论是在我的端点还是通过Docusign请求日志。 没有连接日志,即使我指定loggingEnabled为true,所以我无法获得有意义的反馈。 我已经尝试将requireAcknowledgment设置为true,如另一个答案中提到的,以及许多其他设置组合。 我已经详细阅读了文档和许多关于SO的类似问题,但这些建议都没有对我有用。

非常感谢任何帮助或见解。

对于初学者,有没有一种方法可以在Docusign方面验证事件通知是否实际上是从请求中创建的?

这是信封创建请求JSON

{
   "emailBlurb":"Please sign this proforma invoice.",
   "emailSubject":"Proforma Invoice",
   "documents":[
      {
         "documentId":"1",
         "name":"proforma_invoice.pdf"
      }
   ],
   "recipients":{
      "signers":[
         {
            "accessCode":"",
            "addAccessCodeToEmail":false,
            "customFields":null,
            "idCheckConfigurationName":null,
            "idCheckInformationInput":null,
            "inheritEmailNotificationConfiguration":false,
            "note":null,
            "phoneAuthentication":null,
            "recipientAttachment":null,
            "requireIdLookup":null,
            "roleName":"Customer",
            "routingOrder":1,
            "socialAuthentications":null,
            "recipientId":1,
            "email":"john@smith.com",
            "name":"John Smith",
            "autoNavigation":false,
            "defaultRecipient":false,
            "signatureInfo":null,
            "tabs":{
               "approveTabs":null,
               "checkboxTabs":[

               ],
               "companyTabs":null,
               "dateSignedTabs":[
                  {
                     "anchorString":"Sign",
                     "anchorXOffset":"350",
                     "anchorYOffset":"-10",
                     "anchorIgnoreIfNotPresent":false,
                     "anchorUnits":"pixels",
                     "documentId":"1",
                     "pageNumber":"1",
                     "recipientId":1,
                     "required":false,
                     "xPosition":"0",
                     "yPosition":"0",
                     "optional":false,
                     "tabLabel":"Signature 1",
                     "locked":false
                  }
               ],
               "dateTabs":null,
               "declineTabs":null,
               "emailTabs":[

               ],
               "envelopeIdTabs":null,
               "fullNameTabs":[
                  {
                     "anchorString":"Sign",
                     "anchorXOffset":"220",
                     "anchorYOffset":"8",
                     "anchorIgnoreIfNotPresent":false,
                     "anchorUnits":"pixels",
                     "documentId":"1",
                     "pageNumber":"1",
                     "recipientId":1,
                     "required":false,
                     "xPosition":"0",
                     "yPosition":"0",
                     "optional":false,
                     "tabLabel":"Signature 1",
                     "locked":false
                  }
               ],
               "listTabs":[

               ],
               "noteTabs":null,
               "numberTabs":[

               ],
               "radioGroupTabs":[

               ],
               "initialHereTabs":[

               ],
               "signHereTabs":[
                  {
                     "anchorString":"Sign",
                     "anchorXOffset":"80",
                     "anchorYOffset":"0",
                     "anchorIgnoreIfNotPresent":false,
                     "anchorUnits":"pixels",
                     "documentId":"1",
                     "pageNumber":"1",
                     "recipientId":1,
                     "required":false,
                     "scaleValue":1,
                     "xPosition":"0",
                     "yPosition":"0",
                     "optional":false,
                     "tabLabel":"Signature 1",
                     "locked":false
                  }
               ],
               "signerAttachmentTabs":null,
               "ssnTabs":null,
               "textTabs":[

               ],
               "titleTabs":[

               ],
               "zipTabs":null
            }
         }
      ],
      "carbonCopies":[

      ]
   },
   "eventNotification":{
      "useSoapInterface":false,
      "includeCertificateWithSoap":false,
      "url":"valid_accessible_url_endpoint",
      "loggingEnabled":true,
      "envelopeEvents":[
         {
            "includeDocuments":false,
            "envelopeEventStatusCode":"completed"
         },
         {
            "includeDocuments":false,
            "envelopeEventStatusCode":"sent"
         },
         {
            "includeDocuments":false,
            "envelopeEventStatusCode":"delivered"
         }
      ],
      "recipientEvents":[

      ]
   },
   "status":"sent",
   "customFields":null
}

connectEvents api允许您查询Connect日志和失败。

您还可以使用DocuSign管理应用程序查看它们。 这里有管理员应用程序的文档。

如果事件生成成功且无法传递到Webhook端点,则应在故障部分中列出这些事件。

请将您的请求包含在https监听网址中。 DocuSign不支持http侦听器URL。 文档在这里

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM