salesforce1 api overview

16
Platform API overview Samuel De Rycke Salesforce Developer at ABSI [email protected] @SamuelDeRycke

Post on 21-Oct-2014

372 views

Category:

Software


4 download

DESCRIPTION

These are the slides from the presentation at the Salesforce1 Word Tour event at Paris 2014-06-26 by Samuel De Rycke in the Developer Theatre

TRANSCRIPT

Page 1: Salesforce1 API Overview

Platform API overviewSamuel De Rycke

Salesforce Developer at [email protected]

@SamuelDeRycke

Page 2: Salesforce1 API Overview

Platform Architecture

Page 3: Salesforce1 API Overview

SOAP API

• SOAP/WSDL• 2 Versions:

• Enterprise: Strongly typed, Org specific• Partner: Dynamic, Requires datamodel inspection

• Extensive API, well suited for system integrations

• https://www.salesforce.com/us/developer/docs/api/

Page 4: Salesforce1 API Overview

REST API

• Access data over REST• XML or JSON• Lightweight• Best suited for browser or mobile applications

• https://www.salesforce.com/us/developer/docs/api_rest/

Page 5: Salesforce1 API Overview

Custom APIs

• Apex code• SOAP or REST• XML, JSON or custom formats• Synchronous• Write your own API in Apex

• https://developer.salesforce.com/page/Apex_Web_Services

Page 6: Salesforce1 API Overview

Custom APIs – Use Case

• Challenge: External mobile application needs to store multiple records in multiple objects in a transactional process.

• Issue: REST Api handles insert and update calls in separate requests per record

• Solution: We wrote our own custom Apex REST endpoint to accept a custom datatype which was wrapper around the salesforce sObjects. Now we could handle the transactional process in Apex.

Page 7: Salesforce1 API Overview

Chatter REST API

• REST• XML or JSON• Synchronous• Abstracted data model• Chatter specific API to access the social collaboration part of force.com

• http://www.salesforce.com/us/developer/docs/chatterapi/

Page 8: Salesforce1 API Overview

BULK API

• REST• XML or CSV• Asynchronous• Process >1.000.000 records

• https://www.salesforce.com/us/developer/docs/api_asynch/

Page 9: Salesforce1 API Overview

Analytics API

• REST• JSON• Synchronous & Asynchronous• Access the force.com reporting engine: configuration and data

• http://www.salesforce.com/us/developer/docs/api_analytics/index.htm

Page 10: Salesforce1 API Overview

Streaming API

• JSON• Asynchronous• Near real-time• Receive push notifications when records are created or updated

• http://www.salesforce.com/us/developer/docs/api_streaming/

Page 11: Salesforce1 API Overview

Metadata API

• SOAP/WSDL• Access the force.com configuration• Deploy between orgs !

• http://www.salesforce.com/us/developer/docs/api_meta/

Page 12: Salesforce1 API Overview

Tooling API

• SOAP or REST• XML or JSON• Exposes developer features

• http://www.salesforce.com/us/developer/docs/api_tooling/index.htm

Page 13: Salesforce1 API Overview

API Overview

Page 14: Salesforce1 API Overview

Questions ?

Page 15: Salesforce1 API Overview

La communauté de développeurs Salesforce en France

Paris: http://www.meetup.com/Paris-Salesforce-Developer-User-Group/

St Quentin: http://www.meetup.com/Saint-Quentin-Salesforce-Developer-Group/

Page 16: Salesforce1 API Overview

Samuel De Rycke@SamuelDeRycke