Views:
Question:
Why do I get an error message that the count parameter is above the allowed limit when searching via the Platform API?
 

Answer:
Search queries that are too large can put too much load on the cloud system. This can have a negative impact on your work processes.

To prevent this, search queries that are too large are rejected.

A maximum of 10,000 results can be requested in a single search call via the Platform API. 
This is the maximum value of the count parameter in the following calls

  • /DocuWare/Platform/FileCabinets/{fileCabinetId}/Query/DialogExpression?dialogId={dialogId}&fields={fields}&sortOrder={sortOrder}&start={start}&count={count}
  • /DocuWare/Platform/FileCabinets/{fileCabinetId}/Query/FunctionExpression?fields={fields}&sortOrder={sortOrder}&start={start}&count={count}
  • /DocuWare/Platform/FileCabinets/{fileCabinetId}/Documents?q={q}&fields={fields}&sortOrder={sortOrder}&start={start}&msStart={msStart}&count={count}&format={format}&includeSuggestions={includeSuggestions}&csvDelimiter={csvDelimiter}&csvIsUtc={csvIsUtc}&calculateTotalCount={calculateTotalCount}
  • /DocuWare/Platform/FileCabinets/{fileCabinetId}/Query/Documents?q={q}&fields={fields}&sortOrder={sortOrder}&start={start}&count={count}&format={format}&additionalCabinets={additionalCabinets}&encodingName={encodingName}&csvDelimiter={csvDelimiter}&csvIsUtc={csvIsUtc}&includeSuggestions={includeSuggestions}&calculateTotalCount={calculateTotalCount}

If the count parameter exceeds the allowed value, you will get an exception. 

In this case, please adjust the count parameter to a valid value.

To continue to receive all documents, please use multiple continuous searches (paging). 
You can use the start parameter to control from which document of the total result set the delivery should start.