How to pre-fill tabs on a server template with the DocuSign API

前端 未结 1 777
清歌不尽
清歌不尽 2020-12-12 07:27

Is it possible to fill in a tab on a server template? If so what would be the correct XML format to do that? I have tried the suggested solution from the post on the DocuSig

相关标签:
1条回答
  • 2020-12-12 08:09

    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>
    
    0 讨论(0)
提交回复
热议问题