sugarcrm - get_entry_list() method with query parameter on sugar crm 7 does not work -
My code is given below .. Please note that I am trying to recover all accounts in whose accounts account name. luck '. The same question works for me in SugarCRM version 6.5 (Community Edition), but in the case of SugarCRM 7, when I mention the query parameter it is not working. If I mention 'query' => '' then I get all records from the Garcrum 7 server. It fails when I specify any filter for query parameter. I am using RestAPI - $ 4.1 get_entry_list_parameters = array (
// session ID
'session' => $ session_id, // module name Out of which "" "" "" "" "" "" "" "", "" "" "& gt; accounts.name = 'Ingrid Rofalsky' ',' query '= & Gt; '', // SQL ORDER BY segment without the phrase "without order". 'Order_by' => & gt; "", // field to include in record 'offset' =>, // results A list of 'select_fields' = & gt; array ('id', 'name',), // a list of links, and returning areas for each link name 'link_name_to_fields_array' = & gt; Array (), // Maximum number of return. 'Max_results' => 10, // If deleted records should be included in the result. 'Deleted' => 0, // If only the preferred form The marked records should be returned to ED. 'Favorites' = & gt; False,
);
print_r ($ get_entry_list_parameters); $ Get_entry_list_result = call ('Get_entry_list', $ get_entry_list_parameters, $ url); Echo '& lt; Pre & gt; '; Print_r ($ get_entry_list_result); Echo & lt; / Pre & gt; ';
Can someone help me on this ..
Thank you. Regards - Destiny
The remaining API has changed a lot in Sugar 7.
The URL should be visible for invoxation
$ starts $ = B & amp; Filter [0] [email_addresses.email_address] = burgers@example.com& files = name, account_type, description, email
where you can filter accounts by name starting with B Mail address burgers are @ example.com and where you only get field names, account types, details and emails
Comments
Post a Comment