Hi Jackie

Thank you for the comments and I agree with the method name modification for
getAvailableModules.

With regards the searchByModule method  definition (mentioned in my post
earlier)  it is to searches modules for a string and returns matched
records.

Further below parameters needs to get passed in order to get results.

1.      session - the session ID returned by a previous login call
2.      search_string - the string to search for
3.      modules - list of modules to query
4.      offset - record offset from which to start
5.      max_results - maximum number of records to return
6.      assigned_user_id - filters records by the assigned user ID(Optional)
7.      select_fields -  an array of fields to return. If empty the default
return fields will be from the active listviewdefs.
8.      unified_search_only - if the search is only against modules 
participating
in the unified search
9.      favourites -  if only records marked as favorites should be returned.

The method returns array of the call results, count of records in paged
result, name of the module and a list of name_value lists for each record
matched.

Hope it is clear enough now.

Thanks,
Indika



--
View this message in context: 
http://wso2-oxygen-tank.10903.n7.nabble.com/Connector-SugarCRM-tp89877p89907.html
Sent from the WSO2 Architecture mailing list archive at Nabble.com.
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to