Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/vb.net/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Docusignapi Docusign API不发送Webhook事件通知_Docusignapi - Fatal编程技术网

Docusignapi Docusign API不发送Webhook事件通知

Docusignapi Docusign API不发送Webhook事件通知,docusignapi,Docusignapi,我似乎无法让Docusign API eventNotification webhooks发送。在创建信封时,我已经验证了请求是否发送了API期望的正确eventNotification JSON哈希,无论是在我的端还是通过Docusign请求日志。没有连接日志,即使我指定loggingEnabled为true,也无法获得有意义的反馈。我尝试过将RequiredKnowledgment设置为true,如另一个答案中所述,以及许多其他设置组合。我已经广泛地阅读了文档和许多类似的问题,但没有一个建议

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

非常感谢您的帮助或见解

对于初学者,是否有一种方法可以在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
}
api允许您查询连接日志和故障

您还可以使用查看它们。管理应用程序的文档

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


请使您的请求包含一个https侦听器url。DocuSign不支持http侦听器URL。文档

Ya,如问题中所述,我已检查了管理应用程序中的连接日志,但没有显示任何内容。谢谢。你能分享一下你的信封创建通话中的json吗?是的,我已经把它添加到了原始问题中。感谢您抽出时间来查看。我没有包括url,因为它只是一个ngrok端点,我已经验证了它的可访问性和工作正确性,但是如果这有帮助的话,我可以。感谢提供JSON。你也可以分享你用这个JSON创建的信封ID吗?我想我已经试过了,但我想我没有。非常感谢您解决了这个问题!