谁能向我解释如何在 Docusign 中使用 JSON 设置电子邮件主题行和电子邮件消息。
注意:(JSON 字符串必须作为 HTTP 请求传递)。
谢谢你,Vignesh.B
使用emailNotification属性为每个收件人设置单独的电子邮件主题和电子邮件正文。应为每个收件人设置 emailNotification 属性。
这是createEnvelope请求的示例 Json 。
POST /v2/accounts/{accountId}/envelopes
{
"recipients": {
"signers": [
{
"email": "[email protected]",
"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": "[email protected]",
"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"
}
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句