mattkol / SugarRestSharp

SugarRestSharp is a .NET C# SugarCRM/SuiteCRM Rest API Client. It is .NET C# Wrapper for the SugarCRM/SuiteCRM REST API Client.
MIT License
30 stars 12 forks source link

Response Data Limited To 100 #7

Closed Manthan2611 closed 5 years ago

Manthan2611 commented 5 years ago

Hi,

When i try to trigger the following code for bulk read all my existing case on debugging the result only show the 100 data of case. How to get all the cases which are present in the SugarCRM?

var client = new SugarRestClient(url, username, password); var request = new SugarRestRequest(RequestType.BulkRead); SugarRestResponse response = client.Execute<Case>(request); List<Case> cases = (List<Case>)response.Data;

Thanks & Regards, Manthan Patel

mattkol commented 5 years ago

This limit can be changed only on the server.

_"A maximum amount of records is configured by default to 100. It can be configured through the config_override.php option $sugar_config['bulk_import_settings']['maxrecords']"

https://github.com/sugarcrmlabs/BulkImport

Manthan2611 commented 5 years ago

Hi there, Thanks for the update