Ryan_Coleman | Posts: 258

Download document filebytes

0 votes

Guys,

When creating a package we have to upload the file via ByteArrayContent. Is there any way to download a document's byte array after it has been uploaded?


HanyuChen | Posts: 10

Reply to: Download document filebytes

0 votes

Hi Ryan,

 

Do you mean to download the original uploaded document? API/SDK does expose a function to download original document, but it's a flattened version and all form fields will be removed:

eslClient.PackageService.DownloadOriginalDocument(new PackageId("package_id"),"document_id");
 

 

Duo


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off