REST API articles
12 articles · Calling Salesforce over REST, and calling out from it.
Connected App 302 Found: Apex Callout Solutions
A `System.HttpResponse[Status=Found, StatusCode=302]` on a Connected App callout will stop an integration dead. Here is...
BotDefinition Delete Error: INSUFFICIENT_ACCESS_OR_READONLY
The DELETE on a BotDefinition returns INSUFFICIENT_ACCESS_OR_READONLY even after every BotVersion is deactivated. What...
Permission Set Assignment: Exporting Data Outside Salesforce
How to query PermissionSetAssignment records in SOQL and move them to an external system with the REST API or Bulk API...
Box.com Salesforce Integration: Apex Backend Guide
How to wire Salesforce up to Box.com in Apex: secure authentication, the file upload patterns that hold up, and error...
Salesforce API Integration: A Guide for Scalable Design
Choosing the wrong API can haunt your org for months. Here is how I pick between REST, SOAP, Bulk, and GraphQL when I...
Best Salesforce Integration Options and Patterns Guide
Choosing an integration tool gets overwhelming fast when there are this many choices. I walk through the common...
Optimize Salesforce query performance with @ReadOnly
Tired of hitting that 50,001-row limit in Apex? Here is how the @ReadOnly annotation bumps your query capacity up to a...
Retrieve Salesforce report metadata with REST Explorer
Report column names that don't match your field API names are a daily annoyance. Here is how I use the REST API to see...
JSON vs XML - Key Differences for Salesforce Developers
Deciding between JSON vs XML can be tricky when you are building Salesforce integrations. Here is how the two handle...
Salesforce Flow Interview Questions for Web Services
Recruiters have moved past loops and variables. Here is how web service integrations work in Flow, and what to say when...
Salesforce Composite API - Reduce Latency and API Limits
Stop burning your daily limits on dozens of tiny HTTP calls. Here is how the Salesforce Composite API bundles requests,...
Connect Salesforce to Google Sheets: Apex or Connector
Two ways to connect Salesforce to Google Sheets: a Sheets add-on that a person drives, or an Apex REST callout through...