无法将值传递到文档模板 [英] Not able to pass in values to docusign template

查看:52
本文介绍了无法将值传递到文档模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图弄清楚如何将表单字段值传递给我的docusign模板。我查看了v2 API文档,但一无所获。

I'm trying to figure out how to pass in form field values to my docusign template. I looked at the v2 API docs but found nothing.

推荐答案

您只需使用JSON请求属性(或XML)指定 tabLabel value 属性。例如,这将填充2个数据字段,其中一个名为 ApplicantName,第二个为 ApplicantSSN ...

You just specify in your JSON request properties (or XML) by using the tabLabel and value properties. For instance, this would populate 2 data fields, one named "ApplicantName" the second "ApplicantSSN"...

{
    "accountId": "221765",
    "emailSubject": "DocuSign Templates Webinar - Example 2",
    "emailBlurb": "Example #2 - Dynamically Populate Form Fields",
    "templateId": "44D9E888-3D86-4186-8EE9-7071BC87A0DA",
    "templateRoles": [
        {
            "email": "jondow@email.com",
            "name": "Jon Dow",
            "roleName": "RoleOne",
            "tabs": {
                "textTabs": [
                    {
                        "tabLabel": "ApplicantName",
                        "value": "John Doe"
                    },
                    {
                        "tabLabel": "ApplicantSSN",
                        "value": "12-345-6789"
                    }
                ]
            }
        }
    ],
    "status": "sent"
}

要获得完整的代码演练,可以将上述内容组合在一起JSON,其中包含示例代码演练之一:

For a full code walkthrough you can combine the above JSON with one of the sample code walkthroughs here:

DocuSign API演练#1

这篇关于无法将值传递到文档模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆