0
所以我与此刻的API的DocuSign作战。 我已经创建了一个电子标签模板,所谓的“测试”的DocuSign - 预填充模板字段
我想送过一个JSON请求将触发签署响应。该请求的一部分将包含特定于客户端的预设值。
到目前为止,我可以得到的一切工作(邮件发送给正确的地址等),除了我的请求结构未正确映射值到外地。
请求:
request = json.dumps({'accountId': account_id,
'status': 'sent',
'emailSubject': 'You have a document you need to sign',
'emailBlurb': 'This is a blurb',
'templateId': 'xxxxxxxxxxxxxxxxxxxxxxxx',
'customFields': {
'textCustomFields': [{
'name': 'address',
'required': 'True',
'show': 'True',
'value': 'This is an address'
}],
},
'templateRoles': [{
'email': '[email protected]',
'name': 'Jamie Strauss',
'roleName': 'Signer1',
'recipientId': '1',
"tabs": {
"textTabs": [{
"tabLabel": "test",
"value": "hello123",
}]
},
}],
})
电子邮件来过,但是,当我浏览到的DocuSign端点呈现的字段为空。
我已经尝试的“选项”设置变量实现无济于事。任何人都可以看到我做错了什么?
干杯
啊,完美。一切都像一个魅力。 –
乐意提供帮助。感谢您使用DocuSign。 –