clebreton

MaxPageSize less than when just using REST API

0 votes

I've noticed that the MaxPageSize value in the PageRequest class has the value of 50,  but I believe the maximum number of transactions (and presumably other items) that can be returned in a request to the API is 100 Retrieving a List of Transactions | OneSpan Community Platform. Is there a reason for this discrepancy?


Approved Answer

Reply to: MaxPageSize less than when just using REST API

1 votes

Hi clebreton,

 

Thanks for reporting this to us! You are right that in most OneSpan Sign APIs, the limit to the number of returned items is 100.

In terms of the SDK variable MaxPageSize, I did a quick search and couldn't find it referenced somewhere else (I am assuming that's why it was never corrected). For the time being, please use a static final constant defined in your local, and I'd like to report this to our R&D team and have it corrected.

 

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