3. 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/
4. 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/
5. Custom APIs
• Apex code
• SOAP or REST
• XML, JSON or custom formats
• Synchronous
• Write your own API inApex
• https://developer.salesforce.com/page/Apex_Web_Services
6. Custom APIs – Use Case
• Challenge: External mobile application needs to store multiple records in multiple objects
in a transactional process.
• Issue: RESTApi 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.
7. 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/
8. BULK API
• REST
• XML or CSV
• Asynchronous
• Process >1.000.000 records
• https://www.salesforce.com/us/developer/docs/api_asynch/
9. 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
10. 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/
11. Metadata API
• SOAP/WSDL
• Access the force.com configuration
• Deploy between orgs !
• http://www.salesforce.com/us/developer/docs/api_meta/
12. Tooling API
• SOAP or REST
• XML or JSON
• Exposes developer features
• http://www.salesforce.com/us/developer/docs/api_tooling/index.htm
Users, groups, composite feed posts, followers and files. Abstracted data model -> logical data model. API similar to those of Twitter or Facebook.
Optimized for manipulating large sets of data. Batchese are processed asynchronously. SETUP > Monitor > JOBS > Bulk Data Load Jobs
Implemented in the salesforce dataloader
Access to report data as configured in the report builder. Use report data in custom objects. Custom visualizations. Automate reporting tasks, Filter on the fly.