Unable to pre-populate default tabs for Company and Title, but textTabs user_name works just fine. I can also change locked property of the fields but not the value.
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"
}
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…