Posts

Oracle to Salesforce Integration: Handling Inbound REST API

Image
  Introduction This blog extends our previous guide on Salesforce-to-Oracle outbound integration by focusing on an inbound REST API integration where Oracle sends customer data (including Orders and Addresses) to Salesforce to create or update records. We’ll provide a detailed Apex REST service with comprehensive comments to explain the @RestResource and @HttpPost annotations and their purpose. Additionally, we’ll clarify when and how to use a Named Credential in inbound integrations, particularly for scenarios requiring outbound callbacks to Oracle. This guide is beginner-friendly, assuming basic Salesforce admin/developer knowledge and familiarity with the objects from the outbound integration. Use Case When a customer record is updated in Oracle (e.g., status changes or new orders are added), Oracle sends a REST API request to Salesforce to: Update or create a Customer__c record and its related Order__c and Address__c records. Log the request and response in Integration_Lo...

๐ŸŒ Real-Time Salesforce to Oracle REST API Integration – Beginner Guide with JSON and Logging

Image
      Salesforce to Oracle REST API Integration ๐Ÿ“˜ Overview In this blog, we’ll cover a real-time outbound REST API integration from Salesforce to Oracle. When a user clicks a button on a Customer__c record, Salesforce will: Send the customer data + related records (Orders & Addresses) to Oracle Show success or failure messages Log the integration request and response for tracking ๐Ÿ” Use Case “Send Customer data to Oracle when status = Completed and user clicks Send Data.” If the call is successful: ✅ show a success message If the call fails: ❌ show a failure message In all cases: ๐Ÿงพ store the request and response in a log   Visualizing Salesforce-Oracle Integration ๐Ÿ“ฆ Type of Integration:  REST API (Outbound) Salesforce is the client , and Oracle is the server . ๐Ÿงฑ Step-by-Step Implementation:  Step 1: Get API Details from Oracle Team Before building anything, ask the Oracle team to share: Step 2: Create Custom Objects in Salesfo...