The Power of Salesforce APIs
World Tour Developer Talk
pchittum@salesforce.com
@pchittum
Peter Chittum
Director, Developer Evangelism
Forward-Looking Statements
Statement under the Private Securities Litigation Reform Act of 1995:
This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any
of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking
statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or
service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for
future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts
or use of our services.
The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our
service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth,
interruptions or delays in our Web hosting, breach of our security measures, the outcome of any litigation, risks associated with completed and any possible
mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our
employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com
products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of
salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most
recent fiscal quarter. These documents and others containing important disclosures are available on the SEC Filings section of the Investor Information
section of our Web site.
Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not
be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available.
Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
Intro and Overview
Integration Dependencies
Data and CRUD APIs
Salesforce Connect
Apex Integration Services
Roundup of Other Integration Topics
Who Are You?
Experience with integration and use of APIs
New(ish) to Salesforce
Intro and Overview
What Makes a Platform…
…a Platform?
APIs
Comprehensive APIs, Toolkits, and Support of Standards
Web Service
Endpoint
Web Service
Endpoint
Apex
WS/REST
Outbound
Messaging
Business Logic
Bulk API
Odata
(Salesforce
Connect)
Streaming API
Topic/Channel
CRUD
(SOAP/REST)
Data
Extnernal Object
Bayeux
Client
Applications, Devices, Middleware
Java SDK Ruby gem PHP Toolkit Mobile SDK
3rd Party
Adapters
Apex
Callouts
Versioned (v38.0 currently)
3 Major Releases per Year
Standard Architectural Patterns
Automatic API Generation
Salesforce API Implementation
Workbench
CLI Tools
Postman
cURL
Tools for working with the API
Integration Dependencies
Identity and Authorization
Security
SOQL/SOSL
APEX
Declarative Customization
It helps to know a few things about the platform.
Identity:
User, Profile, License
Authorization:
Typically OAuth
User Profile
Sharing Model
Security
Broker__c
Name Phone__c Email__c Title__c
Caroline King +1-612-554-
8532
cking@brokers.com Territory
Manager
Alistair Krei +1-415-467-
8890
akrei@brokers.com Real Estate
Agent
Rajesh Hamal +1-213-355-
2241
rhamal@brokers.co
m
Property
Broker
Wei Tong +1-206-888-
4320
wtong@brokers.com Real Estate
Agent
Profile (Configuration)
Sharing
(Dynamic)
Entity
Field
Row
Query and Search
//SOQL – Salesforce Object Query Language
SELECT Id, Name, Title__c, Beds__c Broker__r.Name
FROM Property__c
WHERE Beds__c >= 3
//SOSL - Salesforce Object Search Language
FIND {GU19*} RETURNING Account, Property__c
//Parameterized Search API
/parameterizedSearch?q=bungalow&in=ALL&sobject=Property__c
Apex Code
Declarative Logic
Customization
Data and CRUD APIs
Clients
Applications and Services
Rest API
SOAP API
API Endpoints
Automatically created with new entities/objects
Account
Property__c
/SObjects/Account
/SObjects/Account/describe
/query?q=SELECT+Name,Type+FROM+Account
...
/SObjects/Property__c
/SObjects/Property__c/describe
/query?q=SELECT+Name,Type__c+FROM+Property__c
...
DEMO: Rest API
Salesforce Connect
OData 2.0/4.0 or Custom Apex External data as
Salesforce entity
Sync schema from system of record
No data duplication
Data mastered at system of record
Salesforce Connect
Architecture
Simple Integration
Demo: Salesforce Connect
Apex Integration Services
Apex Callout
Salesforce request to external system
HttpRequest req = new HttpRequest();
req.setEndpoint(url);
req.setMethod(method);
req.setBody(body);
Http http = new Http();
HttpResponse resp = http.send(req);
1
2
3
4
5
6
7
8
Apex Rest Endpoint
Custom API in Salesforce
@RestResource(urlMapping='/propertyhub/*')
global class PropertiesService {
@HttpGet
global static List<Property__c> getNearbyProperties(){
List<Property__c> retProps = new List<Property__c>();
RestRequest req = RestContext.request;
RestResponse resp = RestContext.response;
...
return retProps;
}
1
2
3
4
5
6
7
8
9
10
11
12
Demo: Slack Integration Using Apex
Roundup of Other Integration Topics
Streaming API
Pub/sub API to push events using long polling
Can be replayed for 24 hours
Lightning Out
Salesforce UI in any web container
Questions?
The Power of Salesforce APIs World Tour Edition
The Power of Salesforce APIs World Tour Edition
The Power of Salesforce APIs World Tour Edition
Thank Y u

More Related Content

PDF
Winter 21 Developer Highlights for Salesforce
PPTX
Apply the Salesforce CLI To Everyday Problems
PDF
Salesforce for Platform
PPTX
[MBF2] Plate-forme Salesforce par Peter Chittum
PPTX
LMS Lightning Message Service
PDF
Let's Learn About Heroku and How to Integrate with Salesforce
PDF
Low-code Platform: Tìm hiểu về nền tảng ít lập trình
PDF
Winter '22 highlights
Winter 21 Developer Highlights for Salesforce
Apply the Salesforce CLI To Everyday Problems
Salesforce for Platform
[MBF2] Plate-forme Salesforce par Peter Chittum
LMS Lightning Message Service
Let's Learn About Heroku and How to Integrate with Salesforce
Low-code Platform: Tìm hiểu về nền tảng ít lập trình
Winter '22 highlights

What's hot (20)

PPTX
JDF18 - Connecting the customer success platform
PDF
Salesforce Spring'20 Features
PPTX
Successfully retrieving metadata from salesforce org using packages
PDF
Sandboxes: The Future of App Development
PDF
All Aboard the Lightning Components Action Service
PPTX
Implementing Einstein OCR
PPTX
TrailheaDX India : Developer Highlights
PDF
[Delivering Salesforce secure access to remote workforce
PDF
You've Changed: Field Audit Trails and the Salesforce Time Machine
PDF
Advanced Uses of Salesforce's Login Flows
PPTX
Enhance salesforce application performance using lightning platform cache
PDF
Integrating Active Directory With Salesforce Using Identity Connect
PPT
Developers guide to the Salesforce1 Platform
PDF
Boxcars and Cabooses: When One More XHR Is Too Much
PPTX
Release Winter 22 FR
PDF
Developer Tour on the Salesforce1 Platform
PPTX
Bringing Your Back Office Data To Life with Salesforce Connect
PPTX
Deep dive into salesforce connected app part 1
PPTX
Trailhead live - Overview of Salesforce App Cloud
PPTX
Mobile Developer Week
JDF18 - Connecting the customer success platform
Salesforce Spring'20 Features
Successfully retrieving metadata from salesforce org using packages
Sandboxes: The Future of App Development
All Aboard the Lightning Components Action Service
Implementing Einstein OCR
TrailheaDX India : Developer Highlights
[Delivering Salesforce secure access to remote workforce
You've Changed: Field Audit Trails and the Salesforce Time Machine
Advanced Uses of Salesforce's Login Flows
Enhance salesforce application performance using lightning platform cache
Integrating Active Directory With Salesforce Using Identity Connect
Developers guide to the Salesforce1 Platform
Boxcars and Cabooses: When One More XHR Is Too Much
Release Winter 22 FR
Developer Tour on the Salesforce1 Platform
Bringing Your Back Office Data To Life with Salesforce Connect
Deep dive into salesforce connected app part 1
Trailhead live - Overview of Salesforce App Cloud
Mobile Developer Week
Ad

Similar to The Power of Salesforce APIs World Tour Edition (20)

PPTX
Integrating with salesforce
PPTX
CCT London 2013 Theatre Intro to Apex
PPTX
Introduction to lightning out df16
PDF
Building Mobile Apps That Deliver Salesforce to Your Employees
PDF
An Inside Look at a Large-scale Writer-driven REST API Doc Solution at Salesf...
PPTX
Navi Mumbai Salesforce DUG meetup on integration
PDF
Extracting Microservices from your Monolithic org - Strategies and Tactics
PDF
Docker on Heroku のはじめ方
PPTX
Build lightning components with salesforce dx
PPTX
Dreamforce 2014 - Salesforce Python SDK for REST/SOAP APIs
PDF
Single Sign-On and User Provisioning with Salesforce Identity
PPTX
Elevate Madrid Essentials - Advance Track
PPTX
Intro to Lightning Components - Dreamforce 2016
PDF
Cutting Edge Mobile Development in the App Cloud
PPTX
Using Salesforce to Manage Your Developer Community
PDF
Building Dynamic UI with Visual Workflow Runtime API
PDF
Get Started with the Lightning Platform
PDF
TrailheaDX Global Gathering London 2018
PDF
Tour of Heroku + Salesforce Integration Methods
PDF
#DF17Recap series: Integrate apps easier with the Salesforce platform
Integrating with salesforce
CCT London 2013 Theatre Intro to Apex
Introduction to lightning out df16
Building Mobile Apps That Deliver Salesforce to Your Employees
An Inside Look at a Large-scale Writer-driven REST API Doc Solution at Salesf...
Navi Mumbai Salesforce DUG meetup on integration
Extracting Microservices from your Monolithic org - Strategies and Tactics
Docker on Heroku のはじめ方
Build lightning components with salesforce dx
Dreamforce 2014 - Salesforce Python SDK for REST/SOAP APIs
Single Sign-On and User Provisioning with Salesforce Identity
Elevate Madrid Essentials - Advance Track
Intro to Lightning Components - Dreamforce 2016
Cutting Edge Mobile Development in the App Cloud
Using Salesforce to Manage Your Developer Community
Building Dynamic UI with Visual Workflow Runtime API
Get Started with the Lightning Platform
TrailheaDX Global Gathering London 2018
Tour of Heroku + Salesforce Integration Methods
#DF17Recap series: Integrate apps easier with the Salesforce platform
Ad

More from Peter Chittum (20)

PPTX
Dreamforce 2013 - Enhancing the Chatter Feed with Topics and Apex
PDF
If You Can Write a Salesforce Formula, You Can Use the Command Line
PDF
If you can write a Salesforce Formula you can use the command line
PDF
Do Not Fear the Command Line
PPTX
Don't Fear the Command Line
PPTX
Maths Week - About Computers, for Kids
PPTX
Best api features of 2016
PDF
Streaming api with generic and durable streaming
PDF
Spring '16 Release Overview - Bilbao Feb 2016
PDF
Salesforce Platform Encryption Developer Strategy
PDF
Dreamforce 15 - Platform Encryption for Developers
PPTX
Platform Encryption World Tour Admin Zone
PDF
Salesforce Lightning Components and App Builder EMEA World Tour 2015
PPTX
Building Applications on the Salesforce1 Platform for Imperial College London
PDF
Elevate london dec 2014.pptx
PPTX
AngularJS App In Two Weeks
PPTX
Df14 Salesforce Advanced Developer Certification
PPTX
Javascript and Remote Objects on Force.com Winter 15
PPTX
S1 Tour Paris Developpeurs
PDF
Salesforce Developer Workshop for GDF Suez Hackathon
Dreamforce 2013 - Enhancing the Chatter Feed with Topics and Apex
If You Can Write a Salesforce Formula, You Can Use the Command Line
If you can write a Salesforce Formula you can use the command line
Do Not Fear the Command Line
Don't Fear the Command Line
Maths Week - About Computers, for Kids
Best api features of 2016
Streaming api with generic and durable streaming
Spring '16 Release Overview - Bilbao Feb 2016
Salesforce Platform Encryption Developer Strategy
Dreamforce 15 - Platform Encryption for Developers
Platform Encryption World Tour Admin Zone
Salesforce Lightning Components and App Builder EMEA World Tour 2015
Building Applications on the Salesforce1 Platform for Imperial College London
Elevate london dec 2014.pptx
AngularJS App In Two Weeks
Df14 Salesforce Advanced Developer Certification
Javascript and Remote Objects on Force.com Winter 15
S1 Tour Paris Developpeurs
Salesforce Developer Workshop for GDF Suez Hackathon

Recently uploaded (20)

PDF
Zenith AI: Advanced Artificial Intelligence
PDF
Getting Started with Data Integration: FME Form 101
PPTX
Modernising the Digital Integration Hub
PPTX
The various Industrial Revolutions .pptx
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
Hybrid model detection and classification of lung cancer
PPT
Geologic Time for studying geology for geologist
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PDF
Unlock new opportunities with location data.pdf
PPT
What is a Computer? Input Devices /output devices
DOCX
search engine optimization ppt fir known well about this
PDF
Architecture types and enterprise applications.pdf
PDF
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PDF
WOOl fibre morphology and structure.pdf for textiles
PPTX
O2C Customer Invoices to Receipt V15A.pptx
PPTX
Tartificialntelligence_presentation.pptx
PDF
A review of recent deep learning applications in wood surface defect identifi...
PPT
Module 1.ppt Iot fundamentals and Architecture
PPTX
observCloud-Native Containerability and monitoring.pptx
Zenith AI: Advanced Artificial Intelligence
Getting Started with Data Integration: FME Form 101
Modernising the Digital Integration Hub
The various Industrial Revolutions .pptx
Univ-Connecticut-ChatGPT-Presentaion.pdf
Hybrid model detection and classification of lung cancer
Geologic Time for studying geology for geologist
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
Unlock new opportunities with location data.pdf
What is a Computer? Input Devices /output devices
search engine optimization ppt fir known well about this
Architecture types and enterprise applications.pdf
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
WOOl fibre morphology and structure.pdf for textiles
O2C Customer Invoices to Receipt V15A.pptx
Tartificialntelligence_presentation.pptx
A review of recent deep learning applications in wood surface defect identifi...
Module 1.ppt Iot fundamentals and Architecture
observCloud-Native Containerability and monitoring.pptx

The Power of Salesforce APIs World Tour Edition

  • 1. The Power of Salesforce APIs World Tour Developer Talk pchittum@salesforce.com @pchittum Peter Chittum Director, Developer Evangelism
  • 2. Forward-Looking Statements Statement under the Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services. The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of any litigation, risks associated with completed and any possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most recent fiscal quarter. These documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site. Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
  • 3. Intro and Overview Integration Dependencies Data and CRUD APIs Salesforce Connect Apex Integration Services Roundup of Other Integration Topics
  • 4. Who Are You? Experience with integration and use of APIs New(ish) to Salesforce
  • 6. What Makes a Platform…
  • 8. Comprehensive APIs, Toolkits, and Support of Standards Web Service Endpoint Web Service Endpoint Apex WS/REST Outbound Messaging Business Logic Bulk API Odata (Salesforce Connect) Streaming API Topic/Channel CRUD (SOAP/REST) Data Extnernal Object Bayeux Client Applications, Devices, Middleware Java SDK Ruby gem PHP Toolkit Mobile SDK 3rd Party Adapters Apex Callouts
  • 9. Versioned (v38.0 currently) 3 Major Releases per Year Standard Architectural Patterns Automatic API Generation Salesforce API Implementation
  • 12. Identity and Authorization Security SOQL/SOSL APEX Declarative Customization It helps to know a few things about the platform.
  • 14. User Profile Sharing Model Security Broker__c Name Phone__c Email__c Title__c Caroline King +1-612-554- 8532 cking@brokers.com Territory Manager Alistair Krei +1-415-467- 8890 akrei@brokers.com Real Estate Agent Rajesh Hamal +1-213-355- 2241 rhamal@brokers.co m Property Broker Wei Tong +1-206-888- 4320 wtong@brokers.com Real Estate Agent Profile (Configuration) Sharing (Dynamic) Entity Field Row
  • 15. Query and Search //SOQL – Salesforce Object Query Language SELECT Id, Name, Title__c, Beds__c Broker__r.Name FROM Property__c WHERE Beds__c >= 3 //SOSL - Salesforce Object Search Language FIND {GU19*} RETURNING Account, Property__c //Parameterized Search API /parameterizedSearch?q=bungalow&in=ALL&sobject=Property__c
  • 19. API Endpoints Automatically created with new entities/objects Account Property__c /SObjects/Account /SObjects/Account/describe /query?q=SELECT+Name,Type+FROM+Account ... /SObjects/Property__c /SObjects/Property__c/describe /query?q=SELECT+Name,Type__c+FROM+Property__c ...
  • 22. OData 2.0/4.0 or Custom Apex External data as Salesforce entity Sync schema from system of record No data duplication Data mastered at system of record Salesforce Connect
  • 26. Apex Callout Salesforce request to external system HttpRequest req = new HttpRequest(); req.setEndpoint(url); req.setMethod(method); req.setBody(body); Http http = new Http(); HttpResponse resp = http.send(req); 1 2 3 4 5 6 7 8
  • 27. Apex Rest Endpoint Custom API in Salesforce @RestResource(urlMapping='/propertyhub/*') global class PropertiesService { @HttpGet global static List<Property__c> getNearbyProperties(){ List<Property__c> retProps = new List<Property__c>(); RestRequest req = RestContext.request; RestResponse resp = RestContext.response; ... return retProps; } 1 2 3 4 5 6 7 8 9 10 11 12
  • 29. Roundup of Other Integration Topics
  • 30. Streaming API Pub/sub API to push events using long polling Can be replayed for 24 hours
  • 31. Lightning Out Salesforce UI in any web container