Specifying an Alternate Query Limit - Public Sector Constituency Web Access - Foundation 24.1 - Foundation 24.1 - Ready - OnBase - external

Public Sector Constituency Web Access

Platform
OnBase
Product
Public Sector Constituency Web Access
Release
Foundation 24.1
License

Optionally, you can use the queryLimit key in the api object to set the maximum number of document results returned by queries from this client. This setting allows an individual front-end client to specify an alternate query limit to use rather than that determined by the API's QueryLimit attribute.

The value for queryLimit can be set to an integer representing the maximum number of allowed results, or 0 to not specify an alternate limit. In the following example, the client is configured to return no more than 200 documents per query:

"queryLimit": 200

However, it is important to note that when the configured query limits for the front-end client and API differ, the lower, more restrictive limit is applied (a value of 0 being interpreted as unlimited, rather than lower than 1).