我通过 SugarCRM 检索数据,然后它显示这种类型的错误:
$accountParams = array('session' => $session_id, 'module_name' => 'Leads','query' => "id like 5180dfeb-8a3f-51ca-2eaa-510921ef1da6", 'order_by' => '', 'deleted' => 0);
$accountId = $soapclient->call('get_entry_list', $accountParams);
var_dump($accountId);
array
'result_count' => int -1
'error' =>
array
'number' => string '40' (length=2)
'name' => string 'Access Denied' (length=13)
'description' => string 'You do not have access' (length=22)
array
'id' => string 'nmrcjiso5b2aqq7htc9oski9j7' (length=26)
'error' =>
array
'number' => string '0' (length=1)
'name' => string 'No Error' (length=8)
'description' => string 'No Error' (length=8)