发件人通知 [英] Senders Notifications

查看:86
本文介绍了发件人通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有以下json请求,如果我不使用任何发件人通知,它可以工作,但是如果我添加发件人通知却没有,为什么?

I have the following json request, if I do not use any senders notifications, it works but if I add the senders notifications it does not, why?

{
"userSettings":[
{
     "value":"false",
     "name":"allowSendOnBehalfOf"
}
],
"signerEmailNotifications":{
    "envelopeActivation":"false",
    "envelopeComplete":"false",
    "carbonCopyNotification":"false",
    "certifiedDeliveryNotification":"false",
    "envelopeDeclined":"false",
    "envelopeVoided":"false",
    "envelopeCorrected":"false",
    "reassignedSigner":"false",
    "purgeDocuments":"false",
    "faxReceived":"false",
    "documentMarkupActivation":"false",
    "agentNotification":"false"
},
"senderEmailNotifications":{
    "envelopeComplete":"false",
    "changedSigner":"false",
    "senderEnvelopeDeclined":"false",
    "withdrawnConsent":"false",
    "recipientViewed":"false",
    "deliveryFailed":"false"
 }
}"


推荐答案

从您的请求中删除最终的 ,它对我有用。

Remove the final " from your request, it works for me.

{
"userSettings":[
{
     "value":"false",
     "name":"allowSendOnBehalfOf"
}
],
"signerEmailNotifications":{
    "envelopeActivation":"false",
    "envelopeComplete":"false",
    "carbonCopyNotification":"false",
    "certifiedDeliveryNotification":"false",
    "envelopeDeclined":"false",
    "envelopeVoided":"false",
    "envelopeCorrected":"false",
    "reassignedSigner":"false",
    "purgeDocuments":"false",
    "faxReceived":"false",
    "documentMarkupActivation":"false",
    "agentNotification":"false"
},
"senderEmailNotifications":{
    "envelopeComplete":"false",
    "changedSigner":"false",
    "senderEnvelopeDeclined":"false",
    "withdrawnConsent":"false",
    "recipientViewed":"false",
    "deliveryFailed":"false"
 }
}

在其中留下一个错误消息,指示关闭JSON后您的请求还有其他文本

Leaving the " in there you get an error message, indicating that your request has additional text after the JSON is closed

{
 errorCode: "INVALID_REQUEST_BODY"
 message: "The request body is missing or improperly formatted. Additional text encountered after finished reading JSON content: \". Path '', line 30, position 2."
}

这篇关于发件人通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆