This past weekend I had the opportunity to present at Midwest Dreamin in Chicago, August 10-11, 2017. My session was titled “Tour of Salesforce REST APIs for Multiple DML in Single Request”. Although the sessions were not recorded, I did make my own screen cast a few days prior and have since uploaded it to YouTube. There are no slides as I was demoing a custom app, which you can get the code on GitHub.

In the presentation I cover four API approaches and their pros/cons in a solution:

  1. Traditional
  2. Custom Apex
  3. Composite API
  4. SObject Tree API

Here’s a photo of me explaining the pros and cons of the traditional approach of making multple API requests sequentially and downside of having no true transaction control.

tour-rest-apis-mwd17-speaking
Photo by Alan Kinsley

And here is a screen shot where I’m giving a final overview comparison of each approach.

tour-rest-apis-mwd17-comparison.png
Photo by Adam Olshansky

Resources

Building Towards a Composite API Framework in Salesforce #DF15

Next Generation APIs #TDX17

Simplify Your API Code with Composite Resources

Handle Errors with Composite Resources

Composite REST API Developer Guide