SlideShare a Scribd company logo
The most talkative topic across the word, three letter words the API.
 What is an API
 Few words about API
 Advantages of API
 Standard terminologies used with API
 Types of APIs
 Introducing different types of WEB APIs
API Definition:
API stands for Application Programming Interface. API can be
defined in many ways. And its definitions varied from one
context to another. The best possible way to define an API is as
follows:
 API stands for Application Programming Interface. It acts as
the interface in between client & server which is used to
provide communication or interaction over network via
HTTP/HTTPs Protocol which help us to expose the data or
information from the backend systems.
API Diagram:
Client Applications Server Applications
Client 1
Client 2
Client n
API
SFDC
 API is used to merge or integrate the data from different backend systems or
applications or devices all together in the integration based project environment
and then acts as an interface(single face) or Single Point of Contact (SPOC) to the
multiple clients. So that later on client can make a call or request to an API by
using some standard tools such as Postman or cURL or by doing coding to
consume or orchestrate an API to expose the data or information present in an API
based on URI type (resource type in case of REST API).
 API is used to store the data from different applications in integration project.
 API acts as an interface which is used to expose or access the data from the
backend applications by using operations, Input, Output and underlying Data
types.
 APIs acts as an interface to allow applications to talk to each
other. It provides information for how to communicate with
an applications by defining the :
Operations (methods)
Inputs (request )
Outputs (response)
Underlying data types
 API is sometimes also referred as Web Services, Endpoints.
 API is built or created by the Service provider which is used to
perform some functionality. It is actually used to stores data
from different backend systems. Old days gone when we used
to depend on point to point interaction. Now API is used to
expose the data from backend systems. Service consumer or
client uses APIs to expose data from multiple backend
applications based on operation & resources.
 API is built by the service provider and then it is deployed to
the Cloud computing environment so that it will be available
for everyone. From there multiple clients can consume or
orchestrate our APIs based on operation and resources which
is hosted in the Cloud computing environment.
 API is used in Integration based project. The example of other
integration technologies are JDBC which is used to expose or
access the data or information from the database in the form of
operations (Java methods). If client wants they can make a call or
request to the specific methods to get the data back. But this will
happen from server to server only.
Hibernate, iBatis are also one type of integration technology
only.
 All the service or business components or class in MVC pattern
are type of integration technology.
 EJB & WS are another type of integration technology. A WEB APIs.
 We can create Web API or Web Services by using basically three
technologies:
1> SOAP API 2> RPC API and 3> RESTful API
There are various benefits of API. Few of them I would like to highlight it
out here.
Benefits of API:
 Standard Interface for communications:
It is a standard way of communication in between client & server.
 Provide Abstraction:
It provides Abstraction in between Client & Server.
 Reusability (Easy to use):
It supports Reusability . Multiple clients can consume an APIs once created
by the service provider.
To understand about the API we have to understand some standard terminologies
which is used with APIs. So these are the following standard terminologies often
used in APIs….
 Client:
One who is responsible for consuming our APIs. It might be more than one. Or
One who sends requests to APIs or make a call to consume an API. (Many clients
can consume our API)
 Server:
One who is responsible for providing services to the clients by making API. One
who is responsible to creating an API and sending a response to the API request
 Stateless:
Communication happens in between applications over standard
HTTP / HTTPS protocol which is stateless.
 Resources/Categories/Entities:
Resources is nothing but a URI basically which is used to send a
request to consume or make a call/request to an API by the client to
expose or get the data from the API back to the client based on
resource type defined in an API.
Resources are Entities or Categories that has a URI to which request
can be sent.
Resources are derived from the Categories.
Resources are Noun & Methods are Verbs..
BY using Resources only we can expose the data from the backend
applications.
Resources are sometimes referred as Operations as well
 Methods/Operations/Actions:
It is a standard HTTP method which is used by the clients to make a
request or call to an API to expose data.
Types of APIs:
There are basically two types of APIs
1. Traditional APIs
2. Web APIs (Advanced one) This one is more famous now
Traditional API:
This type of API is very old type API. It is basically used in server to
server, libraries which is available in source code file to expose
data.
WEB API:
This type of API is most advanced one and used in IT industry so
frequently to expose data from backend systems across network
via standard protocols like HTTP/HTTPs.
 There are more than ten thousands Public WEB APIs are
available which helps to connect different applications via
internet exists.
 Web APIs are created in web formats & standards.
 SOAP APIs, RPC APIs and REST APIs are the examples of WEB
APIs..
 JSON-RPC APIs & XML-RPC APIs are the examples of RPC Web
Service or APIs
Introduction to API
Ad

More Related Content

What's hot (20)

Api presentation
Api presentationApi presentation
Api presentation
Tiago Cardoso
 
An Introduction To REST API
An Introduction To REST APIAn Introduction To REST API
An Introduction To REST API
Aniruddh Bhilvare
 
REST API Design & Development
REST API Design & DevelopmentREST API Design & Development
REST API Design & Development
Ashok Pundit
 
REST API and CRUD
REST API and CRUDREST API and CRUD
REST API and CRUD
Prem Sanil
 
What is REST API? REST API Concepts and Examples | Edureka
What is REST API? REST API Concepts and Examples | EdurekaWhat is REST API? REST API Concepts and Examples | Edureka
What is REST API? REST API Concepts and Examples | Edureka
Edureka!
 
REST API
REST APIREST API
REST API
Tofazzal Ahmed
 
API for Beginners
API for BeginnersAPI for Beginners
API for Beginners
Gustavo De Vita
 
What is an API
What is an APIWhat is an API
What is an API
Elliott Richmond
 
REST-API introduction for developers
REST-API introduction for developersREST-API introduction for developers
REST-API introduction for developers
Patrick Savalle
 
Introduction to REST - API
Introduction to REST - APIIntroduction to REST - API
Introduction to REST - API
Chetan Gadodia
 
What's an api
What's an apiWhat's an api
What's an api
Jacques Ledoux
 
Rest API
Rest APIRest API
Rest API
Rohana K Amarakoon
 
Restful api
Restful apiRestful api
Restful api
Anurag Srivastava
 
API Presentation
API PresentationAPI Presentation
API Presentation
nityakulkarni
 
Api types
Api typesApi types
Api types
Sarah Maddox
 
API
APIAPI
API
Masters Academy
 
Rest API
Rest APIRest API
Rest API
Phil Aylesworth
 
Rest api standards and best practices
Rest api standards and best practicesRest api standards and best practices
Rest api standards and best practices
Ankita Mahajan
 
introduction about REST API
introduction about REST APIintroduction about REST API
introduction about REST API
AmilaSilva13
 
Introduction to Swagger
Introduction to SwaggerIntroduction to Swagger
Introduction to Swagger
Knoldus Inc.
 

Similar to Introduction to API (20)

Best practices and advantages of REST APIs
Best practices and advantages of REST APIsBest practices and advantages of REST APIs
Best practices and advantages of REST APIs
Aparna Sharma
 
Apitesting.pptx
Apitesting.pptxApitesting.pptx
Apitesting.pptx
NamanVerma88
 
advanced computer network, about computer
advanced computer network, about computeradvanced computer network, about computer
advanced computer network, about computer
jishukurmi81
 
API Testing Interview Questions PDF By ScholarHat
API Testing Interview Questions PDF By ScholarHatAPI Testing Interview Questions PDF By ScholarHat
API Testing Interview Questions PDF By ScholarHat
Scholarhat
 
Session 8 Android Web Services - Part 1.pdf
Session 8 Android Web Services - Part 1.pdfSession 8 Android Web Services - Part 1.pdf
Session 8 Android Web Services - Part 1.pdf
EngmohammedAlzared
 
Api Testing.pdf
Api Testing.pdfApi Testing.pdf
Api Testing.pdf
JitendraYadav351971
 
API testing Notes and features, difference.pdf
API testing Notes and features, difference.pdfAPI testing Notes and features, difference.pdf
API testing Notes and features, difference.pdf
kunjukunjuzz904
 
Api_testing.pdf
Api_testing.pdfApi_testing.pdf
Api_testing.pdf
RameshN849679
 
Moving into API documentation writing
Moving into API documentation writingMoving into API documentation writing
Moving into API documentation writing
Ellis Pratt
 
API Documentation.pptx
API Documentation.pptxAPI Documentation.pptx
API Documentation.pptx
RahulCR31
 
API Documentation.pptx
API Documentation.pptxAPI Documentation.pptx
API Documentation.pptx
RahulCR31
 
Rest api best practices – comprehensive handbook
Rest api best practices – comprehensive handbookRest api best practices – comprehensive handbook
Rest api best practices – comprehensive handbook
Katy Slemon
 
Understanding APIs-2.pptx this is a report of api
Understanding APIs-2.pptx this is a report of apiUnderstanding APIs-2.pptx this is a report of api
Understanding APIs-2.pptx this is a report of api
khaledchause05
 
Salesforce Integration
Salesforce IntegrationSalesforce Integration
Salesforce Integration
Er. Prashant Veer Singh
 
What are restful web services?
What are restful web services?What are restful web services?
What are restful web services?
Aparna Sharma
 
Rest API Interview Questions PDF By ScholarHat
Rest API Interview Questions PDF By ScholarHatRest API Interview Questions PDF By ScholarHat
Rest API Interview Questions PDF By ScholarHat
Scholarhat
 
Flutter development Lecture 17 full powerpoint
Flutter development Lecture 17 full powerpointFlutter development Lecture 17 full powerpoint
Flutter development Lecture 17 full powerpoint
TayyabArif8
 
Understanding REST APIs in 5 Simple Steps
Understanding REST APIs in 5 Simple StepsUnderstanding REST APIs in 5 Simple Steps
Understanding REST APIs in 5 Simple Steps
Tessa Mero
 
O'Reilly SACon San Jose, CA - 2019 - API design tutorial
O'Reilly SACon San Jose, CA - 2019 - API design tutorialO'Reilly SACon San Jose, CA - 2019 - API design tutorial
O'Reilly SACon San Jose, CA - 2019 - API design tutorial
Tom Hofte
 
Third party api integration
Third party api integrationThird party api integration
Third party api integration
Metricoid Technology
 
Best practices and advantages of REST APIs
Best practices and advantages of REST APIsBest practices and advantages of REST APIs
Best practices and advantages of REST APIs
Aparna Sharma
 
advanced computer network, about computer
advanced computer network, about computeradvanced computer network, about computer
advanced computer network, about computer
jishukurmi81
 
API Testing Interview Questions PDF By ScholarHat
API Testing Interview Questions PDF By ScholarHatAPI Testing Interview Questions PDF By ScholarHat
API Testing Interview Questions PDF By ScholarHat
Scholarhat
 
Session 8 Android Web Services - Part 1.pdf
Session 8 Android Web Services - Part 1.pdfSession 8 Android Web Services - Part 1.pdf
Session 8 Android Web Services - Part 1.pdf
EngmohammedAlzared
 
API testing Notes and features, difference.pdf
API testing Notes and features, difference.pdfAPI testing Notes and features, difference.pdf
API testing Notes and features, difference.pdf
kunjukunjuzz904
 
Moving into API documentation writing
Moving into API documentation writingMoving into API documentation writing
Moving into API documentation writing
Ellis Pratt
 
API Documentation.pptx
API Documentation.pptxAPI Documentation.pptx
API Documentation.pptx
RahulCR31
 
API Documentation.pptx
API Documentation.pptxAPI Documentation.pptx
API Documentation.pptx
RahulCR31
 
Rest api best practices – comprehensive handbook
Rest api best practices – comprehensive handbookRest api best practices – comprehensive handbook
Rest api best practices – comprehensive handbook
Katy Slemon
 
Understanding APIs-2.pptx this is a report of api
Understanding APIs-2.pptx this is a report of apiUnderstanding APIs-2.pptx this is a report of api
Understanding APIs-2.pptx this is a report of api
khaledchause05
 
What are restful web services?
What are restful web services?What are restful web services?
What are restful web services?
Aparna Sharma
 
Rest API Interview Questions PDF By ScholarHat
Rest API Interview Questions PDF By ScholarHatRest API Interview Questions PDF By ScholarHat
Rest API Interview Questions PDF By ScholarHat
Scholarhat
 
Flutter development Lecture 17 full powerpoint
Flutter development Lecture 17 full powerpointFlutter development Lecture 17 full powerpoint
Flutter development Lecture 17 full powerpoint
TayyabArif8
 
Understanding REST APIs in 5 Simple Steps
Understanding REST APIs in 5 Simple StepsUnderstanding REST APIs in 5 Simple Steps
Understanding REST APIs in 5 Simple Steps
Tessa Mero
 
O'Reilly SACon San Jose, CA - 2019 - API design tutorial
O'Reilly SACon San Jose, CA - 2019 - API design tutorialO'Reilly SACon San Jose, CA - 2019 - API design tutorial
O'Reilly SACon San Jose, CA - 2019 - API design tutorial
Tom Hofte
 
Ad

Recently uploaded (20)

Heap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and DeletionHeap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and Deletion
Jaydeep Kale
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
 
Role of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered ManufacturingRole of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered Manufacturing
Andrew Leo
 
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfThe Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
Abi john
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
BookNet Canada
 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
 
HCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser Environments
panagenda
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
TrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business ConsultingTrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business Consulting
Trs Labs
 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
 
How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?
Daniel Lehner
 
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
BookNet Canada
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
 
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Aqusag Technologies
 
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul
 
Heap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and DeletionHeap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and Deletion
Jaydeep Kale
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
 
Role of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered ManufacturingRole of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered Manufacturing
Andrew Leo
 
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfThe Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
Abi john
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
BookNet Canada
 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
 
HCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser Environments
panagenda
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
TrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business ConsultingTrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business Consulting
Trs Labs
 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
 
How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?
Daniel Lehner
 
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
BookNet Canada
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
 
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Aqusag Technologies
 
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul
 
Ad

Introduction to API

  • 1. The most talkative topic across the word, three letter words the API.
  • 2.  What is an API  Few words about API  Advantages of API  Standard terminologies used with API  Types of APIs  Introducing different types of WEB APIs
  • 3. API Definition: API stands for Application Programming Interface. API can be defined in many ways. And its definitions varied from one context to another. The best possible way to define an API is as follows:  API stands for Application Programming Interface. It acts as the interface in between client & server which is used to provide communication or interaction over network via HTTP/HTTPs Protocol which help us to expose the data or information from the backend systems.
  • 4. API Diagram: Client Applications Server Applications Client 1 Client 2 Client n API SFDC
  • 5.  API is used to merge or integrate the data from different backend systems or applications or devices all together in the integration based project environment and then acts as an interface(single face) or Single Point of Contact (SPOC) to the multiple clients. So that later on client can make a call or request to an API by using some standard tools such as Postman or cURL or by doing coding to consume or orchestrate an API to expose the data or information present in an API based on URI type (resource type in case of REST API).  API is used to store the data from different applications in integration project.  API acts as an interface which is used to expose or access the data from the backend applications by using operations, Input, Output and underlying Data types.
  • 6.  APIs acts as an interface to allow applications to talk to each other. It provides information for how to communicate with an applications by defining the : Operations (methods) Inputs (request ) Outputs (response) Underlying data types  API is sometimes also referred as Web Services, Endpoints.
  • 7.  API is built or created by the Service provider which is used to perform some functionality. It is actually used to stores data from different backend systems. Old days gone when we used to depend on point to point interaction. Now API is used to expose the data from backend systems. Service consumer or client uses APIs to expose data from multiple backend applications based on operation & resources.  API is built by the service provider and then it is deployed to the Cloud computing environment so that it will be available for everyone. From there multiple clients can consume or orchestrate our APIs based on operation and resources which is hosted in the Cloud computing environment.
  • 8.  API is used in Integration based project. The example of other integration technologies are JDBC which is used to expose or access the data or information from the database in the form of operations (Java methods). If client wants they can make a call or request to the specific methods to get the data back. But this will happen from server to server only. Hibernate, iBatis are also one type of integration technology only.  All the service or business components or class in MVC pattern are type of integration technology.  EJB & WS are another type of integration technology. A WEB APIs.  We can create Web API or Web Services by using basically three technologies: 1> SOAP API 2> RPC API and 3> RESTful API
  • 9. There are various benefits of API. Few of them I would like to highlight it out here. Benefits of API:  Standard Interface for communications: It is a standard way of communication in between client & server.  Provide Abstraction: It provides Abstraction in between Client & Server.  Reusability (Easy to use): It supports Reusability . Multiple clients can consume an APIs once created by the service provider.
  • 10. To understand about the API we have to understand some standard terminologies which is used with APIs. So these are the following standard terminologies often used in APIs….  Client: One who is responsible for consuming our APIs. It might be more than one. Or One who sends requests to APIs or make a call to consume an API. (Many clients can consume our API)  Server: One who is responsible for providing services to the clients by making API. One who is responsible to creating an API and sending a response to the API request
  • 11.  Stateless: Communication happens in between applications over standard HTTP / HTTPS protocol which is stateless.  Resources/Categories/Entities: Resources is nothing but a URI basically which is used to send a request to consume or make a call/request to an API by the client to expose or get the data from the API back to the client based on resource type defined in an API. Resources are Entities or Categories that has a URI to which request can be sent. Resources are derived from the Categories. Resources are Noun & Methods are Verbs.. BY using Resources only we can expose the data from the backend applications. Resources are sometimes referred as Operations as well
  • 12.  Methods/Operations/Actions: It is a standard HTTP method which is used by the clients to make a request or call to an API to expose data.
  • 13. Types of APIs: There are basically two types of APIs 1. Traditional APIs 2. Web APIs (Advanced one) This one is more famous now Traditional API: This type of API is very old type API. It is basically used in server to server, libraries which is available in source code file to expose data. WEB API: This type of API is most advanced one and used in IT industry so frequently to expose data from backend systems across network via standard protocols like HTTP/HTTPs.
  • 14.  There are more than ten thousands Public WEB APIs are available which helps to connect different applications via internet exists.  Web APIs are created in web formats & standards.  SOAP APIs, RPC APIs and REST APIs are the examples of WEB APIs..  JSON-RPC APIs & XML-RPC APIs are the examples of RPC Web Service or APIs