AnsweredAssumed Answered

When call get_entry_list() soap, the maximum number of results always return extra 1 record

Question asked by kockhwie on Jan 3, 2016
Latest reply on Jan 5, 2016 by Dhaivat Naik

Hi,

 

When I call get_entry_list() soap, the maximum number of results always return extra 1 record, is it a bug?

 

Soap Version : v4_1

 

Example:

$soapclient->call('get_entry_list', array(            

             'session' => $session,

             'module_name' => 'Accounts',

             'query' => "accounts.name='apple'",

             'order_by' => "name",

             'offset' => 0,

             'select_fields' => array(
              'name'          
             ),          
             //The maximum number of results to return.
             'max_results' => 5,


             'deleted' => 0,
             'favorites' => false,
             )
      );

 

The number of records return is 6 records, if I set   'max_results' => 1, the number of records return is 2 records, if I set 0, it will return all records.

Is it a bug? or I configure wrongly in the code? Same result when I use "SoapUI".

 

Thanks!!

 

Regards,

Jack

Outcomes