DocuSign 在使用 POST 请求发送信封时添加自定义电子邮件、主题和语言
DocuSign add custom email message, subject, and language when sending envelope using POST request
使用以下 POST 请求和正文发送信封(来源 https://developers.docusign.com/docs/esign-rest-api/how-to/request-signature-template-remote)
https://demo.docusign.net/restapi/v2.1/accounts/4f4xxxx-xxxxxx-xxxxxx/envelopes
{
"templateId": "dbexxxx-xxxxx-xxxxx",
"templateRoles": [
{
"email": "test@gmail.com",
"name": "John Doe",
"roleName": "signer1",
"tabs": {
"textTabs": [
{
"tabLabel": "cname",
"value": "name"
}
]
}
}
],
"status": "sent"
}
有没有办法指定电子邮件信息、电子邮件主题and/or电子邮件语言?我尝试在 "email" 旁边添加 "emailSubject": "Please sign ..."
但似乎无法正常工作。这是我需要手动发出此 post 请求的要求,因此我无法使用 SDK。
您将“emailSubject”字段放置在 JSON 中的什么位置?
您可以通过在根级别(定义“状态”的位置)指定以下字段来指定电子邮件消息和主题:
{
"emailBlurb": "げりト画首ロ百照ょリっ毎現イタヱア掲全らいに",
"emailSubject": "Subject of agreement",
"templateId": "867a37*****",
"templateRoles": [
{
"email": "email@domain.com",
"name": "name_of_person",
"roleName": "Seller"
}
],
"status": "sent"
}
使用以下 POST 请求和正文发送信封(来源 https://developers.docusign.com/docs/esign-rest-api/how-to/request-signature-template-remote)
https://demo.docusign.net/restapi/v2.1/accounts/4f4xxxx-xxxxxx-xxxxxx/envelopes
{
"templateId": "dbexxxx-xxxxx-xxxxx",
"templateRoles": [
{
"email": "test@gmail.com",
"name": "John Doe",
"roleName": "signer1",
"tabs": {
"textTabs": [
{
"tabLabel": "cname",
"value": "name"
}
]
}
}
],
"status": "sent"
}
有没有办法指定电子邮件信息、电子邮件主题and/or电子邮件语言?我尝试在 "email" 旁边添加 "emailSubject": "Please sign ..."
但似乎无法正常工作。这是我需要手动发出此 post 请求的要求,因此我无法使用 SDK。
您将“emailSubject”字段放置在 JSON 中的什么位置?
您可以通过在根级别(定义“状态”的位置)指定以下字段来指定电子邮件消息和主题:
{
"emailBlurb": "げりト画首ロ百照ょリっ毎現イタヱア掲全らいに",
"emailSubject": "Subject of agreement",
"templateId": "867a37*****",
"templateRoles": [
{
"email": "email@domain.com",
"name": "name_of_person",
"roleName": "Seller"
}
],
"status": "sent"
}