AnsweredAssumed Answered

REST API problem : get only the 20 first Accounts.

Question asked by community-support on Jan 13, 2014
Latest reply on Dec 12, 2014 by Ludovic André

I am trying to get all the accounts using the REST API. However, sugarCRM send me only and always the 20 first accounts and not the all list. Even if the attributs offset and max-result are set.

In fact, these attributs attributes seems to be ignored.

See hereunder my request after getting a sessionId:

POST  http://crm1.preprod/service/v4/rest.php

Content-typ: application/x-www-form-urlencoded



Body Ç Readable È :

method= get_entry_list

input_type= JSON

response_type= JSON

rest_data= {'session':'69ncjeq2i7ol25j0gudi5kkvm0', 'module_name':'Accounts','offset': 20, 'max_results' : 2}

In fact, being able to retrieve the all list of the accounts is mandatory for my application.

Did you already encounter this problem and is there any shortcut available ?

Thanks for you help in advance.


FrŽdŽric Rossi

(from fr̩d̩ric Rossi)