Docusignapi 用动态值填充公司选项卡

Docusignapi 用动态值填充公司选项卡,docusignapi,Docusignapi,我正在尝试用我随请求发送的公司名称填充公司选项卡。但是,每当我这样做时,“公司”选项卡中显示的公司名称都是附加到我的开发人员帐户的公司名称,而不是我在“值”字段中指定的名称 以下是我的信封定义: <envelopeDefinition xmlns="http://www.docusign.com/restapi"> <emailSubject>COMPANY NAME Has Sent A Document for You to Sign</emailSub

我正在尝试用我随请求发送的公司名称填充公司选项卡。但是,每当我这样做时,“公司”选项卡中显示的公司名称都是附加到我的开发人员帐户的公司名称,而不是我在“值”字段中指定的名称

以下是我的信封定义:

<envelopeDefinition xmlns="http://www.docusign.com/restapi">
    <emailSubject>COMPANY NAME Has Sent A Document for You to Sign</emailSubject>
    <status>sent</status>
    <documents>
        <document>
            <documentId>1</documentId>
            <name>file.rtf</name>
        </document>
    </documents>

    <recipients>
        <signers>
            <signer>
                <recipientId>1</recipientId>
                <email>buyer@site.com</email>
                <name>Bobby Buyer</name>
                <routingOrder>1</routingOrder>
                <tabs>
                    <signHereTabs>
                        <signHere>
                            <anchorString>//bs01_01//</anchorString>
                            <anchorXOffset>1.5</anchorXOffset>
                            <anchorYOffset>0.0</anchorYOffset>
                            <anchorIgnoreIfNotPresent>true</anchorIgnoreIfNotPresent>
                            <anchorUnits>inches</anchorUnits>
                            <documentID>1</documentID>
                            <pageNumber>1</pageNumber>
                            <recipientID>1</recipientID>
                            <optional>false</optional>
                        </signHere>
                    </signHereTabs>

            <signer>
                <recipientId>2</recipientId>
                <email>seller@sitea.com</email>
                <name>Sally Seller</name>
                <routingOrder>2</routingOrder>
                <tabs>
                    <signHereTabs>
                        <signHere>
                            <anchorString>//ss01_01//</anchorString>
                            <anchorXOffset>1.5</anchorXOffset>
                            <anchorYOffset>0.0</anchorYOffset>
                            <anchorIgnoreIfNotPresent>true</anchorIgnoreIfNotPresent>
                            <anchorUnits>inches</anchorUnits>
                            <documentID>1</documentID>
                            <pageNumber>1</pageNumber>
                            <recipientID>2</recipientID>
                            <optional>false</optional>
                        </signHere>
                    </signHereTabs>

                    <companyTabs>
                        <company>
                            <anchorString>//sco01_01//</anchorString>
                            <anchorXOffset>0.0</anchorXOffset>
                            <anchorYOffset>0.0</anchorYOffset>
                            <anchorIgnoreIfNotPresent>true</anchorIgnoreIfNotPresent>
                            <anchorUnits>inches</anchorUnits>
                            <documentID>1</documentID>
                            <pageNumber>1</pageNumber>
                            <recipientID>2</recipientID>
                            <optional>false</optional>
                            <concealValueOnDocument>false</concealValueOnDocument>
                            <tabLabel>compName</tabLabel>
                            <value>COMPANY NAME</value>
                            <locked>false</locked>
                        </company>

                </tabs>
            </signer>
        </signers>
    </recipients>
</envelopeDefinition>

公司名称已发送一份文件供您签字
发送
1.
file.rtf
1.
buyer@site.com
博比买家
1.
//bs01_01//
1.5
0
真的
英寸
1.
1.
1.
假的
2.
seller@sitea.com
萨莉·塞勒
2.
//ss01_01//
1.5
0
真的
英寸
1.
1.
2.
假的
//sco01_01//
0
0
真的
英寸
1.
1.
2.
假的
假的
公司名称
公司名称
假的

此外,我希望每个收件人都能看到公司名称,因为我假设
标记就是这样做的。但是,它不能这样做,因此它不能做我认为它应该做的事情。

看起来您缺少关闭节点。现在你有:

<companyTabs>
    <company>
        <anchorString>//sco01_01//</anchorString>
        ...
    </company>

//sco01_01//
...
尝试更改为:

<companyTabs>
    <company>
        <anchorString>//sco01_01//</anchorString>
        ...
    </company>      
</companyTabs>  

//sco01_01//
...

添加“结束”选项卡有效吗?这对您有效吗?如果是的话,你能接受答案并投票吗?