SlideShare a Scribd company logo
Best API Features 2016
An homage to progress
pchittum@salesforce.com
@pchittum
Peter Chittum
Director, Developer Evangelism, EMEA
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.
Peter Chittum
Director, Developer Evangelism, EMEA
@pchittum
Best?
“To improve is to change; to be perfect is to change
often.”
- Winston Churchill
Best api features of 2016
“The only way to make sense out of change is to plunge
into it, move with it, and join the dance.”
- Alan Watts
v34.0/composite
Streaming API
v36.0/parameterizedSearch
REST API
Best api features of 2016
Best api features of 2016
POST
/v38.0/composite/tree/{sobject}
{
"records": [{
"attributes": {"type": "Broker__c", "referenceId": "b1"},
"name": "Alistair Krei",
"Properties__r": {
"records": [{
"attributes": {
"type": "Property__c",
"referenceId": "p1"
},
"Address__c": "1 Bagshot Park"
}, {
...more child records
}]}
}, {
...more parent records...
}]}
/v38.0/composite/tree/Broker__c
Insert Record Hierarchy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
POST
/v38.0/composite
{
"compositeRequest" : [
{
"method" : "POST",
"url" : "/services/data/v38.0/sobjects/Account",
"referenceId" : "AccountRecord",
"body" : {"name" : "Composite Account"}
},
{
"method" : "GET",
"url":"/services/data/v38.0/sobjects/Account/@{AccountRecord.id}",
"referenceId" : "NewAccount"
}
]
}
Group arbitrary REST requests
Pass results to later requests
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Demo
v34.0/composite
Streaming API
v36.0/parameterizedSearch
Push API
Avoid REST/SOAP API Polling
Long Polling
What is the Streaming API?
PushTopic: Data Changes
StreamingChannel:
Generic Notification
PushTopic pt = new PushTopic();
pt.Name = 'InvoiceStatementUpdates';
pt.Query = 'SELECT Id, Name, Status__c, Description__c
FROM Invoice_Statement__c';
pt.ApiVersion = '38.0';
pt.NotifyForOperationUpdate = 'true';
pt.NotifyForFields = 'Select';
insert pt;
Configure Push Topic
1
2
3
4
5
6
7
8
9
10
11
Register as Streaming Client
Subscribe to Topic/Channel
Update or Event Occurs
Loss of Client Connection
Message + replayId
Subscribe replayFrom: n, -2, -1
Resume
Demo
bit.ly/df-durable
v34.0/composite
Streaming API
v36.0/parameterizedSearch
Query v Search
Shout if you love SOSL
/search?q=
FIND {bungalow} IN ALL FIELDS
RETURNING Property__c
Shout if you love encoding long strings
FIND {bungalow}
IN ALL FIELDS
RETURNING Property__c
q=bungalow
in=ALL
sobject=Property__c
GET
/parameterizedSearch?
q=bungalow&
in=ALL&
sobject=Property__c
POST
/parameterizedSearch
{
"q" : "bungalow",
"in" : "ALL",
"sobject" : "Property__c"
}
Demo
“Just when I think I have learned the way to live, life
changes.”
- Hugh Prather
Questions?
Don't forget the survey
Best api features of 2016
Thank Y u

More Related Content

PDF
Cutting Edge Mobile Development in the App Cloud
PPTX
Integration with the Salesforce App Cloud - Amsterdam 2016
PPT
Salesforce Integration
PPTX
Using Salesforce to Manage Your Developer Community
PDF
Data Democracy: Use Lightning Connect & Heroku to Visualize any Data, Anywhere
PPTX
The Power of Salesforce APIs World Tour Edition
PDF
Streaming api with generic and durable streaming
PPTX
Salesforce Case Study: Blaze a Trail with More Engaging Content
Cutting Edge Mobile Development in the App Cloud
Integration with the Salesforce App Cloud - Amsterdam 2016
Salesforce Integration
Using Salesforce to Manage Your Developer Community
Data Democracy: Use Lightning Connect & Heroku to Visualize any Data, Anywhere
The Power of Salesforce APIs World Tour Edition
Streaming api with generic and durable streaming
Salesforce Case Study: Blaze a Trail with More Engaging Content

Similar to Best api features of 2016 (20)

PDF
Enhancing Your Lightning Apps with Einstein Analytics
PDF
A new era of end to-end service for the connected world - Chet Chauhan, VP Pr...
PPTX
The invisible elephant in PwC
PDF
His master's voice, take command of Einstein Analytics
PPTX
Delivering Career-Boosting Technical Presentations
PDF
Partner Roadmap Webinar (July 6, 2017)
PPTX
Reimagine Customer, Partner, and Employee Engagement - Cesar Castro
PPTX
Enterprise Analytics - Salesforce.com Toronto User Group Presentation
PDF
Taking Flow to the Next Level with Just Enough Code
PDF
Moving Sharing to a Parallel Architecture
PDF
Learn about the latest innovations straight from dreamforce'18
PDF
SFWT18 - Get Smarter: Integrate Salesforce Einstein Vision with Alexa
PDF
Just-In-Time Sharing Using Apex
PDF
TrailheaDX Global Gathering London 2018
PDF
An Inside Look at a Large-scale Writer-driven REST API Doc Solution at Salesf...
PPTX
Dreamforce 2014 - Salesforce Python SDK for REST/SOAP APIs
PDF
PuppetConf 2016 Customer Keynote: Proof of Concept to 30K+ Hosts with Puppet ...
PPTX
Singapore dg salesforce einstein + spring 17 release by manish
PDF
Adam Gross - The Second Decade of PaaS: What’s Next for Cloud Development
PPTX
Salesforce Files Connect
Enhancing Your Lightning Apps with Einstein Analytics
A new era of end to-end service for the connected world - Chet Chauhan, VP Pr...
The invisible elephant in PwC
His master's voice, take command of Einstein Analytics
Delivering Career-Boosting Technical Presentations
Partner Roadmap Webinar (July 6, 2017)
Reimagine Customer, Partner, and Employee Engagement - Cesar Castro
Enterprise Analytics - Salesforce.com Toronto User Group Presentation
Taking Flow to the Next Level with Just Enough Code
Moving Sharing to a Parallel Architecture
Learn about the latest innovations straight from dreamforce'18
SFWT18 - Get Smarter: Integrate Salesforce Einstein Vision with Alexa
Just-In-Time Sharing Using Apex
TrailheaDX Global Gathering London 2018
An Inside Look at a Large-scale Writer-driven REST API Doc Solution at Salesf...
Dreamforce 2014 - Salesforce Python SDK for REST/SOAP APIs
PuppetConf 2016 Customer Keynote: Proof of Concept to 30K+ Hosts with Puppet ...
Singapore dg salesforce einstein + spring 17 release by manish
Adam Gross - The Second Decade of PaaS: What’s Next for Cloud Development
Salesforce Files Connect
Ad

More from Peter Chittum (20)

PPTX
Dreamforce 2013 - Enhancing the Chatter Feed with Topics and Apex
PDF
Winter 21 Developer Highlights for Salesforce
PPTX
LMS Lightning Message Service
PPTX
Apply the Salesforce CLI To Everyday Problems
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
PDF
Spring '16 Release Overview - Bilbao Feb 2016
PDF
Salesforce Platform Encryption Developer Strategy
PDF
All Aboard the Lightning Components Action Service
PDF
Boxcars and Cabooses: When One More XHR Is Too Much
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
Dreamforce 2013 - Enhancing the Chatter Feed with Topics and Apex
Winter 21 Developer Highlights for Salesforce
LMS Lightning Message Service
Apply the Salesforce CLI To Everyday Problems
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
Spring '16 Release Overview - Bilbao Feb 2016
Salesforce Platform Encryption Developer Strategy
All Aboard the Lightning Components Action Service
Boxcars and Cabooses: When One More XHR Is Too Much
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
Ad

Recently uploaded (20)

PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
Machine Learning_overview_presentation.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Approach and Philosophy of On baking technology
PDF
Empathic Computing: Creating Shared Understanding
PPTX
sap open course for s4hana steps from ECC to s4
PDF
cuic standard and advanced reporting.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Machine learning based COVID-19 study performance prediction
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
A Presentation on Artificial Intelligence
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Cloud computing and distributed systems.
Mobile App Security Testing_ A Comprehensive Guide.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Unlocking AI with Model Context Protocol (MCP)
The AUB Centre for AI in Media Proposal.docx
Programs and apps: productivity, graphics, security and other tools
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Machine Learning_overview_presentation.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
Approach and Philosophy of On baking technology
Empathic Computing: Creating Shared Understanding
sap open course for s4hana steps from ECC to s4
cuic standard and advanced reporting.pdf
Network Security Unit 5.pdf for BCA BBA.
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Machine learning based COVID-19 study performance prediction
The Rise and Fall of 3GPP – Time for a Sabbatical?
A Presentation on Artificial Intelligence
Building Integrated photovoltaic BIPV_UPV.pdf
Cloud computing and distributed systems.

Best api features of 2016

  • 1. Best API Features 2016 An homage to progress pchittum@salesforce.com @pchittum Peter Chittum Director, Developer Evangelism, EMEA
  • 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. Peter Chittum Director, Developer Evangelism, EMEA @pchittum
  • 5. “To improve is to change; to be perfect is to change often.” - Winston Churchill
  • 7. “The only way to make sense out of change is to plunge into it, move with it, and join the dance.” - Alan Watts
  • 13. { "records": [{ "attributes": {"type": "Broker__c", "referenceId": "b1"}, "name": "Alistair Krei", "Properties__r": { "records": [{ "attributes": { "type": "Property__c", "referenceId": "p1" }, "Address__c": "1 Bagshot Park" }, { ...more child records }]} }, { ...more parent records... }]} /v38.0/composite/tree/Broker__c Insert Record Hierarchy 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
  • 15. { "compositeRequest" : [ { "method" : "POST", "url" : "/services/data/v38.0/sobjects/Account", "referenceId" : "AccountRecord", "body" : {"name" : "Composite Account"} }, { "method" : "GET", "url":"/services/data/v38.0/sobjects/Account/@{AccountRecord.id}", "referenceId" : "NewAccount" } ] } Group arbitrary REST requests Pass results to later requests 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
  • 16. Demo
  • 18. Push API Avoid REST/SOAP API Polling Long Polling What is the Streaming API?
  • 20. PushTopic pt = new PushTopic(); pt.Name = 'InvoiceStatementUpdates'; pt.Query = 'SELECT Id, Name, Status__c, Description__c FROM Invoice_Statement__c'; pt.ApiVersion = '38.0'; pt.NotifyForOperationUpdate = 'true'; pt.NotifyForFields = 'Select'; insert pt; Configure Push Topic 1 2 3 4 5 6 7 8 9 10 11
  • 21. Register as Streaming Client Subscribe to Topic/Channel Update or Event Occurs
  • 22. Loss of Client Connection
  • 23. Message + replayId Subscribe replayFrom: n, -2, -1 Resume
  • 27. Shout if you love SOSL
  • 28. /search?q= FIND {bungalow} IN ALL FIELDS RETURNING Property__c
  • 29. Shout if you love encoding long strings
  • 30. FIND {bungalow} IN ALL FIELDS RETURNING Property__c
  • 33. POST /parameterizedSearch { "q" : "bungalow", "in" : "ALL", "sobject" : "Property__c" }
  • 34. Demo
  • 35. “Just when I think I have learned the way to live, life changes.” - Hugh Prather

Editor's Notes

  • #3: Key Takeaway: We are a publicly traded company. Please make your buying decisions only on the products commercially available from Salesforce. Talk Track: Before I begin, just a quick note that when considering future developments, whether by us or with any other solution provider, you should always base your purchasing decisions on what is currently available.