Designing Salesforce REST APIs for Microservice Architectures
Your company is building out a microservice architecture but you also use Salesforce. Can Salesforce be included in the architecture? How? Will that break the microservice architecture rules? Salesforce can indeed participate in your microservice architecture, but the key to doing this without breaking the rules is to carefully design the REST APIs exposed to the rest of the architecture. I will explain why the standard Salesforce APIs are generally not appropriate as-is to a microservice architecture, but will then provide API design guidelines for appropriate APIs that can be achieved via Apex REST or MuleSoft. Using this guidance you can blend Salesforce into your microservice architecture without compromising your microservice principles!