我创建了一个包含两个角色的DocuSign模板:提供者和接收者。我通过DocuSign沙盒UI做到了这一点。
在我的模板中,我有一个文档,上面有四个选项卡: 1. ProviderName 2. ProviderAddress1 3. RecipientName 4. RecipientAddress
我应该使用CustomFields还是Tabs?
在给定一个包含文档的模板的情况下,我应该进行哪些API调用来完成以下操作:
在POSTMan示例中,我尝试使用此网址,执行POST:
{{baseUrl}}/envelopes
传入一个templateId,并在POST正文中包含以下JSON:
JSON:
{
"templateRoles": [{
"email": "{{signer1Email}}",
"name": "The Provider",
"roleName": "Provider",
"tabs": {
"textTabs": [{
"tabLabel": "ProviderName",
"value": "This is the provider!"
},
{
"tabLabel": "ProviderAddress1",
"value": "10 Provider Street, Baltimore, MD 21212"
}]
}
},
{
"email": "{{otherEmail}}",
"name": "Test Recipient",
"roleName": "Recipient",
"tabs": {
"textTabs": [{
"tabLabel": "RecipientName",
"value": "This is the recipient!"
},
{
"tabLabel": "RecipientAddress",
"value": "10 Main Street, Baltimore, MD 21212"
}]
}
}],
"emailSubject": "DocuSign API - Signature Request on Document Call",
"templateId": "<<template ID>>",
"status": "sent"
}
这会在响应中返回一个信封Id,并且我会收到包含要签名的DocuSign文档的电子邮件。
但是,选项卡并未填充,它们是空白的。
https://stackoverflow.com/questions/56763338
复制相似问题