Ive been able to run a PHP script outside of SuiteCRM that logs in and can return back JSON data for Accounts, Project, Leads, Contacts and a few others.
Is there a process where I can add new modules to this? I suppose i can modify the SugarWebServiceImp.php files but I suspect it might there might be an easier way. I have a few custom modules i’d like to be able to pull into another application.
Here is the PHP code from the file that calls the SuiteCRM Rest api. “institute” is a custom module. IF i replace that with “Project”, “Contact”, “Leads” it works fine. But not with any custom made modules. So i assume there is some hard code that set up the allowed modules inside the API programs.
IF thats the case is there a work around or better yet an “selected modules for use by API” section in the Admin side.
thanks
steve
I confirm all custom modules should work if they have been built with Module Builder.
Are you sure the name is Institute (it might be XX_Institute where XX is the key you entered in module builder).
Same issur with table name. It moght not be institute.
Look at the modules folder. The module name you need to use is the name of the folder where your custom module is.