
JavaScript Object Notation (JSON) is a standard text-based format for representing structured data based on JavaScript object syntax. It is commonly used for transmitting data in web applications (e.g., sending some data from the server to the client, so it can be displayed on a web page, or vice versa.
The RFC requires that JSON be represented using either UTF-8, UTF-16, or UTF-32, with UTF-8 being the recommended default for maximum interoperability.
The RFC prohibits adding a byte order mark (BOM) to the start of a JSON text, and this module’s serializer does not add a BOM to its output. The RFC permits, but does not require, JSON deserializers to ignore an initial BOM in their input. This module’s deserializer raises a ValueError when an initial BOM is present.
Apex provides utility classes that enable the creation and parsing of XML content using streams and the DOM.
This section contains details about XML support.
Reading and Writing XML Using Streams
Apex provides classes for reading and writing XML content using streams.
Reading and Writing XML Using the DOM
Apex provides classes that enable you to work with XML content using the DOM (Document Object Model).
Apex provides several built-in classes to work with HTTP services and create HTTP requests like GET, POST, PUT, and DELETE.
You can use these HTTP classes to integrate to REST-based services. They also allow you to integrate to SOAP-based web services as an alternate option to generating Apex code from a WSDL. By using the HTTP classes, instead of starting with a WSDL, you take on more responsibility for handling the construction of the SOAP message for the request and response.
Apex can be invoked by using triggers. Apex triggers enable you to perform custom actions before or after changes to Salesforce records, such as insertions, updates, or deletions.
In this lecture we will learn example of HTTP
In this lecture we will learn example of HTTP
You can use REST API tools to create, manipulate, and search data in Salesforce by sending HTTP requests to endpoints in Salesforce. Depending on where you send requests, you access and operate on different pieces of information, called resources. Resources include records, query results, metadata, and more.
REST API uses RESTful architecture to provide a straightforward and consistent interface. A primary benefit of REST API is that it doesn’t require much tooling to access your data. It’s simpler to use than SOAP API but still provides plenty of functionality.
Although REST API is great for accessing and querying records, other Salesforce APIs, such as Bulk 2.0 API, Metadata API, and Connect REST API, offer additional functionality for specific tasks.
You can use a connected app to request access to Salesforce data on the behalf of an external application. For a connected app to request access, it must be integrated with the Salesforce API using the OAuth 2.0 protocol. OAuth 2.0 is an open protocol that authorizes secure data sharing between applications through the exchange of tokens.
When developers or independent software vendors (ISV) want to integrate their app with Salesforce, they use OAuth APIs. These OAuth APIs enable a user to work in one app but see the data from another
OAuth authorization flows grant a client app restricted access to REST API resources on a resource server. Each OAuth flow offers a different process for approving access to a client app, but in general the flows consist of three main steps.
To initiate an authorization flow, a connected app on behalf of a client app requests access to a REST API resource.
In response, an authorizing server grants access tokens to the connected app.
A resource server validates these access tokens and approves access to the protected REST API resource.
Salesforce- Facebook integration when done correctly sends data gained from Facebook to Salesforce® and vice versa. In the case of a Facebook Lead Ads campaign, for example, this ensures that the Sales teams get an immediate alert when new leads come in, allowing them to respond quickly to customer’s inquiries through email, phone calls, or online chats.
When you connect Facebook to Salesforce, you can collect your leads in a secure system that will make it easy for you to nurture, market, and target them for sales activities.
Salesforce LinkedIn Integration allows you to target your buyers for your products and services by understanding the buyer's value and other information available on the LinkedIn page. Moreover, this Integration saves your time by ensuring that every Sales outreach is tailored and correctly recorded in Salesforce
SOAP API stands for Simple Object Access Protocol API which supports XML only. It can be used to create, update, delete, retrieve records in any language that supports web services. It is used to maintain passwords, perform searches, retrieve metadata.
Salesforce provides two SOAP API WSDLs for two different use cases. The enterprise WSDL is optimized for a single Salesforce org. It’s strongly typed, and it reflects your org’s specific configuration, meaning that two enterprise WSDL files generated from two different orgs contain different information.
Streaming API is a subscription mechanism based on CometD, which enables real-time streaming of event messages. CometD enables the server to push data to the client when the data is available and while the client maintains a connection to the server.
Want to learn Salesforce development and use SOQL to automate your business requirements ?
In this course, you will learn the basics of what is API and Integration and how to use them in Salesforce development from scratch.
SOQL or Salesforce Object Query Language is used to fetch salesforce data from your org and then can be used in Apex as well. Salesforce Development course is for admins/developers who are interested to learn SOQL and its usage in apex. The course will take you through various Salesforce automation's with SOQL and will teach you how to solve business use cases by combining Apex with SOQL. The course also covers some common business scenarios in lightning so that students can have a hands-on experience of some real business use cases.
This course will teach you how to study Salesforce Integration from the ground up and then how to move to Advanced Salesforce Integration. This course will teach you all you need to know about Salesforce Integration.
What are the topics we will cover in this course?
Overview of Salesforce APIs
Using SOAP API to Integrate with Enterprise Apps
Creating Lightweight Integrations using REST API
Bulk API in Salesforce
Streaming API- PushTopics, Platform Events, Change Data Capture
Integration with Facebook and LinkedIn
Calling External Webservice from Lightning Web Components
Fetching Data from Salesforce via External System
OAuth - Web Server Authentication
You can check out our other courses as well on the instructor's page to gain a deep understanding of the Salesforce admin