best api features of 2016
TRANSCRIPT
![Page 1: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/1.jpg)
Best API Features 2016
An homage to progress
[email protected]@pchittum
Peter Chittum Director, Developer Evangelism,
EMEA
![Page 2: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/2.jpg)
Forward-Looking StatementsStatement 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.
![Page 3: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/3.jpg)
Peter Chittum
Director, Developer Evangelism, EMEA
@pchittum
![Page 4: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/4.jpg)
Best?
![Page 5: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/5.jpg)
“To improve is to change; to be perfect is to change often.”- Winston Churchill
![Page 6: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/6.jpg)
![Page 7: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/7.jpg)
“The only way to make sense out of change is to plunge into it, move with it, and join the dance.”- Alan Watts
![Page 8: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/8.jpg)
v34.0/compositeStreaming APIv36.0/parameterizedSearch
![Page 9: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/9.jpg)
REST API
![Page 10: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/10.jpg)
![Page 11: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/11.jpg)
![Page 12: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/12.jpg)
POST/v38.0/composite/tree/{sobject}
![Page 13: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/13.jpg)
{ "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__cInsert Record Hierarchy
123456789
1011121314151617
![Page 14: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/14.jpg)
POST/v38.0/composite
![Page 15: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/15.jpg)
{ "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 requestsPass results to later requests
123456789
101112131415
![Page 16: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/16.jpg)
Demo
![Page 17: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/17.jpg)
v34.0/compositeStreaming APIv36.0/parameterizedSearch
![Page 18: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/18.jpg)
Push APIAvoid REST/SOAP API PollingLong Polling
What is the Streaming API?
![Page 19: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/19.jpg)
PushTopic: Data Changes
StreamingChannel: Generic Notification
![Page 20: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/20.jpg)
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
123456789
1011
![Page 21: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/21.jpg)
Register as Streaming Client
Subscribe to Topic/Channel
Update or Event Occurs
![Page 22: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/22.jpg)
Loss of Client Connection
![Page 23: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/23.jpg)
Message + replayId
Subscribe replayFrom: n, -2, -1
Resume
![Page 24: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/24.jpg)
Demobit.ly/df-durable
![Page 25: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/25.jpg)
v34.0/compositeStreaming APIv36.0/parameterizedSearch
![Page 26: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/26.jpg)
Query v Search
![Page 27: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/27.jpg)
Shout if you love SOSL
![Page 28: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/28.jpg)
/search?q=
FIND {bungalow} IN ALL FIELDS RETURNING Property__c
![Page 29: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/29.jpg)
Shout if you love encoding long strings
![Page 30: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/30.jpg)
FIND {bungalow} IN ALL FIELDS RETURNING Property__c
![Page 31: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/31.jpg)
q=bungalowin=ALLsobject=Property__c
![Page 32: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/32.jpg)
GET/parameterizedSearch?q=bungalow&in=ALL&sobject=Property__c
![Page 33: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/33.jpg)
POST/parameterizedSearch{ "q" : "bungalow", "in" : "ALL", "sobject" : "Property__c"}
![Page 34: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/34.jpg)
Demo
![Page 35: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/35.jpg)
“Just when I think I have learned the way to live, life changes.”- Hugh Prather
![Page 36: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/36.jpg)
Questions?Don't forget the survey
![Page 37: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/37.jpg)
![Page 38: Best api features of 2016](https://reader035.vdocuments.mx/reader035/viewer/2022062523/58f37c801a28abca498b459d/html5/thumbnails/38.jpg)
Thank Y u