docusign-esign-ruby-client icon indicating copy to clipboard operation
docusign-esign-ruby-client copied to clipboard

How to get document id when we get all documents from an envelope in 'archive' format (Zip)

Open jagadish-caribou opened this issue 2 years ago • 2 comments

We have 'archive' method to download all documents from an envelope at once , but I'm having hard time to get document info like document ID or some manifest data of the downloaded zip file , is there any way that we can achieve this ?

jagadish-caribou avatar Feb 24 '23 09:02 jagadish-caribou

I'm not aware of any information you would be able to get from the zip folder itself but you could make an API call to list the envelope documents and that should return the information about the documents contained with the envelope (including the document ID and document name): https://developers.docusign.com/docs/esign-rest-api/how-to/list-envelope-documents/

Hope that helps!

asingh611 avatar Feb 24 '23 23:02 asingh611

Thanks for the reply @asingh611 , I’m aware of that api endpoint but only thing is would the order of the documents in the zip be the same as list of documents we get in that api response

jagadish-caribou avatar Feb 25 '23 06:02 jagadish-caribou