Docusign发件人通知REST API

时间:2014-08-08 14:22:40

标签: docusignapi

我正在尝试使用json REST API和C#设置一些发件人通知,但它不起作用,我做错了什么,我有:

{
"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",
"senderEnvelopeDeclined":"false",
"withdrawnConsent":"false",
"recipientViewed":"false",
"deliveryFailed":"false"
}
}

1 个答案:

答案 0 :(得分:1)

出于某种原因,您必须在userSettings节点中设置一些内容以在以下节点signerEmailNotifications中设置内容。

选择一个您不想搞砸的设置(例如enableDSPro,这是DocuSign桌面应用程序的退役版本)。

以下内容适用于您

{ 
  "userSettings":[{
    'name':'canSendEnvelope',
    'value':null
  }],
  "signerEmailNotifications": {
    "envelopeActivation": false,
     "envelopeComplete": false
  },
  "senderEmailNotifications": {
    "envelopeComplete": false
  }
}