无法预先填充公司和标题的默认选项卡,但textTabs user_name可以正常工作.我也可以更改字段的锁定属性,但不能更改值.
params = {
"accountId" : ACCOUNT_ID,
"emailSubject": "Test Sign",
"emailBlurb": "Auto generated",
"templateId": POWERFORM_ID,
"templateRoles": [{
"clientUserId" : str(user_id),
"roleName": "Recipient",
"name": name,
"email": email,
'company': 'test',
'Company': 'test21',
"tabs": {
"companyTabs": [{
"tabLabel": "Company",
"value": 'this is a test',
}],
"textTabs": [{
"tabLabel": "user_name",
"value": user_name,
}],
"titleTabs": [{
"value": title,
"required": "true",
"tabLabel": "Title",
}],
},
}],
"status":"sent"
}
Run Code Online (Sandbox Code Playgroud) docusignapi ×1