发件人通知

时间:2014-08-18 04:23:18

标签: docusignapi

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

{
"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"
 }
}"

1 个答案:

答案 0 :(得分:2)

从您的请求中删除最终",它适用于我。

{
"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关闭后有其他文本

{
 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."
}