SugarCRM module changes and Codeigniter REST integration as described at http://enricosimonetti.com/2013/03/25/crm-sugarcrm-and-a-restful-integration