mzhang | Posts: 1

How to get a signed document list in a specific period

0 votes

My company has an OneSpan account to request customer's e-signatures consistently. The documents are uploaded to OneSpan manually through creating new transaction in OneSpan's portal and those documents were named randomly. Now we want to call your .NET.SDK API to get a signed document list in a specific period (For example all signed documents which were uploaded to OneSpan from 2022-12-01 to 2022-12-31), once we got this list, the related documents will be downloaded to our local computer to archive them, the download process will use your function 'DownloadDocument(PackageId packageId, string documentId)', so I suppose the packageId and documentId should be in the list. Please advise us how to implement it.   


Duo_Liang | Posts: 3776

Reply to: How to get a signed document list in a specific period

0 votes

Hi Michael,

 

Thanks for your post!

In order to retrieve a list of transactions in .NET SDK, you can: 

Page<DocumentPackage> draftPage = eslClient.PackageService.GetUpdatedPackagesWithinDateRange(DocumentPackageStatus.DRAFT, new PageRequest(1), START_DATE, END_DATE);

Note that the start and end date refers to the latest updated date of the transaction (not the creation date).

On top of that, because it's a general purose to bulk download signed documents, I have an integration tool "OneSpan Sign - Package Export & Download Tool" which can also serve this purpose. It's an integration example hosted in the Community Code Share which was written in Java code.

 

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