Fiona

Completion report did not return all

0 votes

We are using the completion report API to retrieve the completed transactions from all senders.  Using this (/api/reports/completion?status=COMPLETED&from=2020-03-01&to=2020-05-13), service did not return all of the senders (only 49 out of 146).  It also did not return all completed transactions for each sender.  We have received a lot of transactions in the last couple month, more than 10k.  The service only returned 100 transactions.

Any idea why?  Is there a maximum number of packages or senders we can retrieve?  How can we get the rest?


Reply to: Completion report did not return all

0 votes

Hi Fiona,

 

It is a known limitation that the completion report API only returns 100 packages, and there's no way to paginate and to loop through the rest of the list. So typically for clients have high transaction traffic, they pull by daily basis.

For ad-hoc users, I've developed a package export and download tool allows you to generate a CSV report to export the status for all packages belonging to all senders.

Behind the scene, the steps and the APIs I invokes include:

(1)pull all sender's ID who is not "LOCKED"

(2)get the API Key for each sender

step 1 and 2 is documented in the Sender Guide.

(3)using each sender's API Key to retrieve packages of interest, reference the Retrieve List of Packages guide.

 

Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to:

0 votes

Are there plans to address this limitation in future releases? Or should we use the same approach to retrieve a list of all senders (ids and API keys), and obtain packages for each sender in order to get a complete list of packages?  Even pulling the transaction on a daily basis, there might be times where we can receive more than 100 transactions at a time, just want to make sure we do not miss any.


Reply to: Completion report did not return all

0 votes

Hi Fiona,

 

API Enhancement is always an ongoing project, however, I am not yet told there's a timeline to address the completion report API limitation. You can send your request and a brief business motivation to [email protected] and our support team will help you fill in such an Enhancement Request.

 

At the same time, it's suggested to use the same steps to retrieve a list of senders and obtain packages for each sender.

 

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