Sage 300 API Query threshold

SOLVED

Sage 300 2019 PU4  

http://XXXXXXX/Sage300WebApi/v1.0/-/XXXXXX/AR/$metadata#ARPostedDocuments 

The above query returns 100 records only.

Is there a way i can increase the threshold to 1,000 or remove the it completely?



  • +1
    verified answer

    In the web.config file (...\Online\WebApi), we have established this 100 threshold for performance and other considerations. However, by changing the value for the "PageSize" element from 100 to 1000, you can tailor the web api to have a new threshold number.