REST API-如何在DocuSign请求中修改电子邮件通知 [英] REST API - How to modify email notifications in DocuSign request
本文介绍了REST API-如何在DocuSign请求中修改电子邮件通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何添加提醒和有效期?我可以创建并发送信封,但不确定在何处添加此可选参数。我当前的JSON请求如下:
How do you add reminders and expirations? I can CreateAndSend an envelope, but not sure where to add this optional parameter. My current JSON request below:
POST https://demo.docusign.net/restapi/v2/accounts/175597/envelopes
{
"emailBlurb": "Please sign to complete the document signature",
"emailSubject": "Reminder and Expiration Test",
"documents": [
{
"documentId": "1",
"name": "7805dda0-9363-11e3-a6ef-0e26cd4d7860.pdf"
}
],
"recipients": {
"signers": [
{
"recipientId": "1",
"email": "email@hotmail.com",
"name": "Test Test",
"routingOrder": 1
}
]
},
"status": "sent"
}
推荐答案
请参阅 CreateEnvelope API文档
下面是在API请求中指定通知设置的示例。
Here is an example that specifies the notification settings in the API request.
POST https://demo.docusign.net/restapi/v2/accounts/175597/envelopes
{
"emailBlurb": "Please sign to complete the document signature",
"emailSubject": "Reminder and Expiration Test",
"status": "sent",
"documents" :[//dcouments go here],
"recipients" :{//recipients go here},
"notification":{
"useAccountDefaults":"String content",
"reminders":{
"reminderEnabled":"String content",
"reminderDelay":"String content",
"reminderFrequency":"String content"
},
"expirations":{
"expirationEnabled":"String content",
"expirationAfter":"String content",
"expirationWarn":"String content"
}
}
}
可以找到REST API的旧文档此处
Old documentation for the REST API can be found here
这篇关于REST API-如何在DocuSign请求中修改电子邮件通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文