Across APIs, Salesforce REST Query (in English)
Updated 2026-11-07
What's changed since the video
Each change is dated and checked against Salesforce's own documentation.
- Sign in without a password in the request. The demo signs in to Postman with the OAuth username-password flow. Salesforce blocks that flow in orgs created in Summer '26 and later, and stops supporting it for connected apps on February 20, 2027 (Retirement of OAuth 2.0 Username-Password Flow for Connected Apps (Release Update), Salesforce Help, checked 2026-11-07). On your own bench, sign in with the client credentials flow or the web server flow with PKCE, through an External Client App (chapter 13, module 8).
- A newer API version. The video calls version 59 the latest. Today's is 68.0 (Winter '27), and the oldest versions are closing: 31.0 to 40.0 are deprecated in Summer '27 and retired in Summer '28, when a REST call to them returns 410 GONE (Salesforce Platform API Versions 31.0 through 40.0 Retirement, Salesforce Help, checked 2026-11-07).
Still right
- A REST query returns its records in batches: "up to 2,000 records can be returned at a time in a synchronous request", with `done` and `nextRecordsUrl` to get the rest (Query, REST API Developer Guide, Winter '27, checked 2026-11-07).
- Adding `explain` asks Salesforce how it would run the query, without running it. It's still marked Beta (Get Feedback on Query Performance (Beta), checked 2026-11-07).
- If you really need large amounts of data, use the Bulk API instead.
All videos in this series: इंटीग्रेशन आर्किटेक्चर
वीडियो YouTube से तभी लोड होता है जब आप उस पर क्लिक करते हैं।