Apex Web Service: Building Blocks for Web Wizards
There are times when the standard Salesforce REST API is not the best way to have an external client access Salesforce. This is when you may need to build a custom Apex Web Service. In this blog/video, I walk you through the basic steps for building a custom Web Service:
1. Showing how the bare bones lines of code required
2. Adding complexity for controlling the JSON and handling incoming parameters
3. Showing how to have a controlled JSON Request and Response for inserts, and also handle and communicate errors to the Client