Docusign 信封接收事件通知

Docusign envelope recepient event notification

我正在尝试同步 DocuSign 信息,我想跟踪一些信封状态和一些收件人状态。

我将此类数据用于草稿信封:

{
"emailSubject": "test 1",
"emailBlurb": null,
"recipients": null,
"documents": [
    {
        "documentId": 1,
        "name": "DocuSign_current_sync.pdf",
        "documentBase64": ".....",
        "fileExtension": "pdf"
    }
],
"status": "created",
"eventNotification": {
    "url": "https://webhook.site/{id}",
    "requireAcknowledgment": true,
    "includeDocuments": false,
    "includeEnvelopeVoidReason": true,
    "includeSenderAccountAsCustomField": false,
    "loggingEnabled": true,
    "envelopeEvents": [
        {
            "envelopeEventStatusCode": "sent",
            "includeDocuments": false
        },
        {
            "envelopeEventStatusCode": "delivered",
            "includeDocuments": false
        },
        {
            "envelopeEventStatusCode": "declined",
            "includeDocuments": false
        },
        {
            "envelopeEventStatusCode": "voided",
            "includeDocuments": false
        },
        {
            "envelopeEventStatusCode": "completed",
            "includeDocuments": false
        }
    ],
    "recipientEvents": [          
        {
            "recipientEventStatusCode ": "signed",
            "includeDocuments": false
        },
        {
            "recipientEventStatusCode ": "completed",
            "includeDocuments": false
        }
    ],
    "eventData": {
        "format": "json",
        "version": "restv2.1",
        "includeData": [
            "recipients"
        ]
    }
}}

每次收件人signed/completed他的流程

时,我都希望收到通知信封状态更改和通知

但我只收到信封级别的通知,并且在收件人更改其状态时不会收到任何更新

有什么问题吗?我该如何解决?

猜测问题是多余的space。我希望收到无效收件人的错误消息。将对此进行检查。

"recipientEventStatusCode ": "signed",

应该是:

"recipientEventStatusCode": "signed",