I've read thru a few SO posts about using the Docusign REST API & populating fields (tabs?), but fields are still not getting populated.
From the Docusign UI, I made a template that has a few roles, including "sender". I uploaded a PDF file that has a few fields. When prompted, I assigned all of them to "sender" role. One of the fields is called "Landlord" (Data Label of this Text field). I POST'd this JSON to the /envelopes
REST endpoint, but the "Landlord" field/tab doesn't get populated! What's going on? Am I confusing field & tabs? What's missing?
{
'status': 'sent',
'emailSubject': "Some Document",
'templateId': 'XXXXXXXX-XXXX-4809-a825-1f05a91853e8',
'accountId': 'XXXXXXX',
'templateRoles': [{
'email': 'me@mymail.com',
'tabs': {
'textTabs': [{
'tabLabel': 'Landlord',
'name': 'Landlord',
'value': 'John Doe'
}]
},
'name': 'Frank Sinatra',
'roleName': 'sender'
}]
}