Hello,
I'm currently using the get_entry_list method in the v4_1 API in order to pull large numbers of records (every record from a given module), but am considering upgrading to the v11 API. However, I haven't found any information regarding any performance advantages that would result from doing so. Are there any improvements to performance associated with using the GET /<module> endpoint in v11? Is there any performance improvement when pulling user-tagged records? Or is it comparable to get_entry_list in v4_1?
Hello,
I would say implementing REST v11 should be done for two primary reasons:
1. REST v11 is how the core application operates. If you monitor the Network tab in your browser's Developer Tools, you'll see that requests are sent to the /rest/v11/ endpoints when performing CRUD operations in the User Interface. Building web service integrations using REST v11 should be much simpler as you can reference operations that the core application is performing, to get an idea of how each endpoint should work.
The REST v11 documentation is very robust and there are a number of working examples for both bash (via cURL) and PHP. Also, REST v11 uses JSON rather than XML.
2. REST v4_1 and older are deprecated from a development standpoint. Additionally this is not a true RESTful API, instead it is a REST wrapper for the SOAP API. Sugar is no longer adding new features to this older version. It MAY be removed in a future release, though no official announcement on removing support for the older API has been made.
In regards to overall performance, it depends. I think the best way to confirm would be to perform a few tests and time the responses. In theory REST v11 should be faster.
In my experience REST v11 is faster, but my testing is primarily against instances with Demo Data or relatively small datasets.
Regards,
Dan Kallish
Advanced Support Engineer
SUGARCRM
Learning Resources: http://support.sugarcrm.com | http://university.sugarcrm.com | http://community.sugarcrm.com