Salesforce APIs - Chirag-ahir/SFC-Preparation GitHub Wiki

Salesforce offers a variety of APIs to cater to different integration and development needs. Here's an overview of the main APIs provided by Salesforce:

  1. REST API Use Case: Access Salesforce data and functionality through a web services interface. Features: Simple and efficient, supports JSON and XML, suitable for mobile and web applications. Documentation: REST API Developer Guide

  2. SOAP API Use Case: Access Salesforce data and business logic through a web services interface. Features: Supports XML, suitable for enterprise-level integrations and legacy systems. Documentation: SOAP API Developer Guide

  3. Bulk API Use Case: Handle large data volumes in Salesforce. Features: Asynchronous processing, suitable for data migration and ETL processes. Versions: Bulk API v1.0 (older, but still in use), Bulk API v2.0 (improved, more efficient). Documentation: Bulk API v1.0 Developer Guide Bulk API v2.0 Developer Guide

  4. Streaming API Use Case: Get real-time notifications of changes to Salesforce data. Features: Uses CometD protocol, suitable for event-driven architectures. Documentation: Streaming API Developer Guide

  5. Metadata API Use Case: Manage Salesforce metadata programmatically. Features: Supports deployment, retrieval, creation, update, or deletion of metadata. Documentation: Metadata API Developer Guide

  6. Tooling API Use Case: Build custom development tools for Salesforce applications. Features: Access metadata and data, suitable for IDEs and development tools. Documentation: Tooling API Developer Guide

  7. Apex REST and SOAP APIs Use Case: Create custom web services on the Salesforce platform. Features: Customizable REST or SOAP endpoints using Apex classes. Documentation: Apex REST Apex SOAP