简体   繁体   English

DocuSign 信封 Webhook - JSON 格式

[英]DocuSign Envelope Webhook - JSON Format

I'm using the eventNotification property when creating an envelope to be signed to set a per envelope webhook to receive notifications when the envelope is completed.我在创建要签名的信封时使用eventNotification属性来设置每个信封 webhook 以在信封完成时接收通知。 I believe you can now specify the data format so you can change this to JSON from the default XML data format.我相信您现在可以指定数据格式,因此您可以将其从默认的 XML 数据格式更改为 JSON。

I've looked through the docs here and can't see anywhere to specify the data format to be JSON for a per envelope setting here.我已经查看了此处的文档,无法看到任何地方将数据格式指定为 JSON 用于此处的每个信封设置。

Here's an example of my eventNotification details:这是我的 eventNotification 详细信息的示例:

{
    "envelopeEvents" : 
    [
        {
            "envelopeEventStatusCode" : "completed"
        }
    ],
    "includeCertificateOfCompletion" : "false",
    "includeDocumentFields" : "true",
    "includeDocuments" : "false",
    "requireAcknowledgment" : "true",
    "url" : "https://acme.com/myWebhook.php"
}

Is there something I can add here to specify the webhook to send a JSON payload instead of XML?我可以在此处添加一些内容来指定 webhook 以发送 JSON 有效负载而不是 XML?

Json payloads are coming later this year. Json 有效载荷将于今年晚些时候推出。 Only xml at this time, sorry目前只有xml,不好意思

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

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