Bikram

Review Documents

0 votes

Hello Duo, 

We are designing a multi step form for document signing process. My question is just as in onespan, whenever the signing is completed by all the recipient, there is the option of reviewing the documents as well as downloading it.

We also want to implement the same functionality, in the final step after the document has been signed or the transaction status has been completed, show the user the option of reviewing as well as downloading it. I have found the end point for downloading the zip documents and it is working fine but couldn't find the end point for showing the same signed documents to the users instead of downloading it. 

Can you please help me on this ? 

Thanks,

Bikram 


Reply to: Review Documents

0 votes

Hi Bikram,

 

In this case, you can download each individual document in PDF format:

GET /api/packages/{packageId}/documents/{documentId}/pdf

And render the file with any HTML PDF Viewer library of your choice.

PS: We used to allow downloading the flattened PDF pages via this API (GET /api/packages/{packageId}/documents/{documentId}/pages/{index}), but it seems it's no longer working now.

 

Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


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