如何在Docusign中设置来自JSON的电子邮件主题行和电子邮件 [英] How to Set Email Subject Line and Email Message from JSON in Docusign

查看:94
本文介绍了如何在Docusign中设置来自JSON的电子邮件主题行和电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以向我解释一下如何在Docusign中使用JSON设置电子邮件主题行和电子邮件消息。

Could anyone explain to me that how to set email subject line and email message using JSON in Docusign.

注意:(JSON字符串必须作为HTTP请求传递)。

Note:(JSON string has to be passed as HTTP request).

谢谢您,
Vignesh.B

Thank you, Vignesh.B

推荐答案

使用 emailNotification 属性为每个收件人设置单独的电子邮件主题和电子邮件正文。应该为每个收件人设置emailNotification属性。

Use the emailNotification property to set separate email subject and email body per each individual recipient. The emailNotification property should be set per recipient.

这里是创建信封请求。


POST / v2 / accounts / { accountId} /信封

POST /v2/accounts/{accountId}/envelopes



{
  "recipients": {
    "signers": [
      {
        "email": "recipientone@acme.com",
        "name": "recipient one",
        "recipientId": "1",
        "routingOrder": "1",
        "emailNotification": {
              "emailSubject": "Please sign the  document Recipient One ",
              "emailBody": "Hello Recipient One,\r\n\r\nYour consultant has sent you a new document to view and sign.  Please click on the View Documents link below, review the content, and sign the document.  If you have any questions, please contact your consultant.\r\n\r\nThank you!",
              "supportedLanguage": "en"
         },
        "tabs": {"signHereTabs": [{"documentId": "1", "pageNumber": "1", "xPosition": "100", "yPosition": "100"}]}
      },
      {
        "email": "recipienttwo@acme.com",
        "name": "recipient two",
        "recipientId": "2",
        "routingOrder": "2",
        "emailNotification": {
              "emailSubject": "Please sign the  document Recipient Two ",
              "emailBody": "Hello Recipient Two,\r\n\r\nYour consultant has sent you a new document to view and sign.  Please click on the View Documents link below, review the content, and sign the document.  If you have any questions, please contact your consultant.\r\n\r\nThank you!",
              "supportedLanguage": "en"
         },        
        "tabs": {"signHereTabs": [{"documentId": "1", "pageNumber": "1", "xPosition": "100", "yPosition": "200"}]}
      }
    ]
  },
  "documents": [
    {
      "documentBase64": "RG9jIFRXTyBUV08gVFdP",
      "documentId": "1",
      "fileExtension": "txt",
      "name": "Simple Contract",
      "order": "1"
    }
  ],
  "status": "Sent"
}

这篇关于如何在Docusign中设置来自JSON的电子邮件主题行和电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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