更新时间:2021-11-08 07:11:27
对不起,我发誓单数的textTab是需要在textTabs元素中使用,但看起来应该像这样被命名为 text 。这是一个有效的完整XML请求正文
Sorry, I could have sworn that the singular textTab was needed inside of the textTabs element, but it looks like this supposed to be named just text instead. Here is a full XML request body that works
<envelopeDefinition xmlns="http://www.docusign.com/restapi">
<accountId>221765</accountId>
<status>sent</status>
<emailSubject>API Call for sending signature request from template</emailSubject>
<emailBlurb>This comes from Java</emailBlurb>
<templateId>DD92AF6F-3B87-435C-A652-A7451AFE758E</templateId>
<templateRoles>
<templateRole>
<email>email@docusign.com</email>
<name>John Doe</name>
<roleName>Signer1</roleName>
<tabs>
<textTabs>
<text>
<tabLabel>DataField1</tabLabel>
<value>Initial Data Goes Here</value>
</text>
</textTabs>
</tabs>
</templateRole>
</templateRoles>
</envelopeDefinition>