• Cannot add related Account and Contact to a Case record on a custom API endpoint

    I have a working custom REST API endpoint in Sugar 7.8 and I even created Note records to test that it works. This endpoint does not require authentication but sets the global $current_user to the system user in order to allow the use of BeanFactory.…