1 回答

TA贡献1817条经验 获得超14个赞
您可以使用 DocuSign 复合模板并指定收件人自定义字段。templateRoles 不支持指定收件人自定义字段。
这是一个对我有用的例子。我使用了来自 DocuSign UI 的模板,其中包含两个签名者收件人,每个收件人都分配了一个“在此处签名”选项卡。
此外,第一个签名者有一个自定义文本标签。以编程方式更改下面的 initialValue。
{
"emailSubject": "Test",
"status": "sent",
"compositeTemplates": [
{
"serverTemplates": [
{
"sequence": "1",
"templateId": "{Enter your template ID}"
}
],
"inlineTemplates": [
{
"sequence": "1",
"recipients": {
"signers": [
{
"email": "{Enter email}",
"name": "jane doe",
"recipientId": "2",
"roleName": "{Enter Role}",
"routingOrder": "1",
"tabs": {
"textTabs": [
{
"tabLabel": "{theLabelName}",
"value": "{newValue}"
}
]
}
},
{
"email": "{another Email}",
"name": "john doe",
"recipientId": "3",
"roleName": "{another Role}",
"routingOrder": "1"
}
]
}
}
]
}
]
}
有关复合模板(优点和缺点)的更多信息,我强烈鼓励伟大的 DocuSigner Gil V 撰写这篇博文。
- 1 回答
- 0 关注
- 118 浏览
添加回答
举报