Salta ai contenuti

REST and JSON Win, and Salesforce's Own Doors

Questi contenuti non sono ancora disponibili nella tua lingua.

Module 5 of 8 in the chapter The Story of Integration: From CORBA to Today, chapter 17 of the Integration Architect course. Each module stands on its own. Previous: SOAP, WSDL and UDDI · Next: Salesforce Legacy You’ll Still Meet

The question this module answers: REST and JSON became the common language. When did each of Salesforce’s own APIs arrive, and which of them are still growing?

Chapter 3 tells this in full, so here’s the short version. Firewalls were locked down everywhere, except ports 80 and 443, left open for the web (module 2). Developers who wanted servers to talk to each other said: why don’t we host our services on 80 and 443, and look like a browser? REST does just that, using HTTP’s own verbs and status codes. Then it really took off on mobile devices, in the days of 2G and 3G phones, when the size of every message mattered. JSON was lighter than SOAP’s XML (chapter 3 module 4). By the 2010s, REST and JSON were where new APIs were built.

SOAP didn’t go away (module 4). It just stopped being where new work started. And Salesforce’s own APIs tell that story, one door at a time.

Salesforce has added doors for over twenty years. Each one arrived for a reason: a kind of caller, or a volume, or a timing the older doors didn’t handle well.

DoorArrivedWhy it cameToday
SOAP API2003 (as “sforce”)The first way in: integrate other business systems with SalesforceSupported. login() on it retires in Summer ‘27
Bulk API (1.0)2009 (Winter ‘10)Millions of records, in batches, not one call per recordSupported; new features go to 2.0
REST API2011 (Spring ‘11)Simple calls in JSON over HTTP, for web and mobileSupported and growing
Streaming API (PushTopic, CometD)2012 (Spring ‘12)Be told about a change, instead of asking again and againLegacy, still supported
Platform events2017 (Summer ‘17)Your own business events, published and subscribedSupported and growing
Bulk API 2.02017 (Winter ‘18)Bulk, simplified: Salesforce makes the batchesSupported and growing
Change Data Capture2019 (Spring ‘19)An event for every record change, without building oneSupported and growing
Pub/Sub API2022 (Summer ‘22)One modern API to publish and subscribe to eventsSupported and growing
GraphQL API2022 (Winter ‘23)Ask for exactly the fields you need, across objects, in one callSupported and growing

Every date from 2009 on is the release whose release notes announced the door as generally available, so you can look each one up. The REST API, for example: “The REST API is generally available starting with version 21.0” (Spring ‘11 release notes; The REST API Is Now Transitioning to GA (opens in a new tab), Salesforce Developers Blog, February 2011). The Streaming API ran as a pilot first, and became generally available a release later than many people remember, in Spring ‘12. The first door is older than Salesforce’s online release notes: Salesforce launched its web services API, then called sforce and built on SOAP and WSDL, in June 2003.

Read the table again, and you’ll see the story of the whole chapter repeat inside one platform.

SOAP came first, and REST took over new work. Today, almost every new Salesforce feature has a REST door, and many have only that. But the SOAP API still runs, because older tools still use it. In my 2024 class, one student was still calling it, because their code worked and had for ten years (chapter 8 module 1).

A newer version of the same door takes over the growth. Bulk API 2.0 didn’t remove 1.0. It’s where new features go, and 1.0 stays for the few things only it does (chapter 10 module 3). The same is true for events: the Streaming API, with PushTopic and CometD, is now labelled legacy and still supported, and Salesforce points new event work to the Pub/Sub API (chapter 11).

Asking turned into being told. The early doors were all about asking: a call, an answer. The newer ones are about being told: streaming, then platform events, then Change Data Capture, then the Pub/Sub API. That’s the events era from module 1, inside Salesforce.

Each door has versions, and old versions retire. Salesforce releases a new API version three times a year. Versions 21.0 to 30.0 retired in Summer ‘25, and 31.0 to 40.0 retire in Summer ‘28. Chapter 8 module 1 shows how the number of REST doors grew version by version, and how to find who’s still calling an old one.

You don’t need these dates for the exam. You need them for the field guide.

When you walk into an older org, the door an integration uses tells you roughly when it was built, and what it was built to do. A SOAP integration from before 2011 was built when there was no REST door to use. A PushTopic subscriber was built before platform events or the Pub/Sub API existed. Neither was a mistake. But each one is now on an older door, and you can see from the table which way Salesforce went next.

That gives you the question for every one of them: is this still the right door, and if not, what moves it, and when? Module 6 goes through the older mechanisms you’ll still meet, one by one, and module 8 is how to plan the move.

The story of integration: Salesforce's own doors The story of integration, with Salesforce's own doors added, on a timeline from 1970 to 2030 with a dashed line at today. The wire, objects and services layers as in modules 2 to 4. Salesforce's own doors: the SOAP API, from 2003, still running; SOAP login(), from 2003, its end announced for Summer '27; Bulk API 1.0, from 2009, supported but no longer improved since 2017; the REST API, from 2011, still running; the Streaming API, from 2012, supported but no longer improved since 2022; platform events, from 2017; Bulk API 2.0, from 2017; Change Data Capture, from 2019; the Pub/Sub API, from 2022; and the GraphQL API, from 2022, all still running. The legend: a blue bar for supported, amber for supported but no longer improved, red for retired or end announced. {"author": "Steve Simpson", "blueprint": "1.0.0", "builder": "concept 1.7.0", "built": "2026-11-20", "id": "DGM-INT-IS-05", "rights": "\u00a9 2026 Twinshark LLC. All rights reserved.", "template": "timeline 0.1.0", "theme": "stevetecharc 1.4.0"} The story of integration: Salesforce's own doors NETWORKS GROW UP OBJECTS SERVICES REST AND JSON EVENTS AGENTS 1970 1980 1990 2000 2010 2020 2030 today THE WIRE · MODULE 2 EDI (X12) 1979 TCP/IP 1983 NetWare (IPX/SPX) 1983 2009 HTTP 1996 IPv6 1998 TLS 1.0 1999 2021 TLS 1.2 2008 TLS 1.3 2018 OBJECTS ACROSS THE WIRE · MODULE 3 CORBA 1991 Java RMI 1997 CORBA in Java 1998 2018 Enterprise service bus 2002 SERVICES · MODULE 4 SOAP 2000 UDDI public registry 2000 2006 WSDL 2001 SALESFORCE'S OWN DOORS · MODULE 5 SOAP API 2003 SOAP login() 2003 Summer '27 Bulk API 1.0 2009 REST API 2011 Streaming API 2012 Platform events 2017 Bulk API 2.0 2017 Change Data Capture 2019 Pub/Sub API 2022 GraphQL API 2022 SALESFORCE LEGACY · MODULE 6 AGENTS · CHAPTERS 22 AND 23 supported supported, no longer improved retired, or end announced © 2026 Twinshark LLC · stevetecharc.com
Click to enlarge

Salesforce’s layer starts in the services era and fills up in the REST and events eras. Look at the amber bars: Bulk API 1.0 and the Streaming API are still supported, and their newer doors arrived beside them. The amber starts where the newer door arrived. That’s my reading of where the growth moved, not a date Salesforce announced. The one red mark isn’t a door at all. It’s a way of signing in.

Test knowledge. Know which door fits which job: REST for record-at-a-time work and mobile; SOAP for older tools that need it; Bulk API 2.0 for large volumes; platform events and Change Data Capture to be told about changes, subscribed through the Pub/Sub API; GraphQL to fetch exactly the fields you need. The Streaming API with PushTopic and CometD is the older way to subscribe (chapter 8, chapter 11).

  • Which door each integration uses, and roughly when it was built.
  • Whether that door is still growing, or supported with its growth moved to a newer door.
  • Which API version it calls, and when that version retires.
  • What it moves to, and in what order, if it’s on an older door.