title: DocuSign Rest API - Downloading Completed Document after using multiple CompositeTemplates
body: <p>I'm trying to download completed document(s) from a Docusign  Envelope sing the below code:</p>
  
  <p><code>byte[] fileData = envelopesApi.getDocument(accountId, envelopeId, documentId);</code></p>
  
  <p>However, I think the problem lies with how I'm sending the documents in compositeTemplates that make up the envelope. I'm assigning both documents an ID that corresponds to a custom POJO object's ID in my application. The above <code>envelopesApi.getDocument(accountId, envelopeId, documentId)</code> code worked great until I implemented the compositeTemplate design describe <a href="https://stackoverflow.com/questions/42591749/docusign-java-rest-api-combining-anchor-tagged-custom-file-and-pdf-form-field">here</a>. </p>
  
  <p>Do I need to use a different ID for each document?</p>
  
  <p>Should I be using a different API call to get back these documents? There will likely be more than two compositeTemplates in the future. So I'll need a way to download all documents in a given envelope.</p>
  
  <p>Thanks for your help. </p>