Wednesday 11 January 2017

Learn Rest API in salesforce | How to learn Rest API | Rest API in salesforce

The Salesforce REST API lets you integrate with Salesforce applications using simple HTTP methods, in either JSON or XML formats, making this an ideal API for developing mobile applications or external clients. Salesforce also supports Apex REST, which lets you create Web services on using Apex

Please check all below post to learn about REST API with example.

1) Apex Integration Services
Now learning in salesforce to much easy as compare to our time. The Salesforce Trailhead now offers a fun way to learn everything related to Salesforce Integration and Rest API

2) Insert | Update | Delete record by Rest API | Workbench | Standard Rest API | Rest Explorer 
In Above post you will learn how to insert, update or delete a record by Rest API without any code 

3) REST Explorer | Using Workbench | Execute API from Workbench 
The best way to test your web-service is workbench. The browser based workbench does not require OAuth as long as your browser session is active. Above post will help you to learn about Workbench. 

4) Access Token Generation | OAuth 2.0 | Connected App | Rest API Access Token 
This post will help how to Generate OAuth token to execute the Rest API 

5) Rest API in Salesforce | Execute Rest API on workbench | Test class for Rest API 
 Above post will help you How to create Rest API code in Apex classes with Test class. In above you can found the sample code and can see how to execute same API in workbench.

 6) REST API | New Resources | Summer 15 | Composite Resources in Salesforce 
In this post we will learn about Batch resource. The Batch resource lets you execute a sequence of independent subrequests. For example, you can update the name on an account and get the account’s field values in a single request

7) Test Salesforce API by Postman Rest Client | Postman and Salesforce | Calling APEX Rest service using Postman| OAuth 2.0

Please check below for how to call REST API from postman and how to do salesforce API end to end testing

8) REST API with XML and JSON | REST API with XML Payload | REST API with Dynamic Response

 REST API which should support JSON and XML both. If we will pass JSON request body then response should come in JSON. But if we will send request body in XML then response should come in XML.

9) Callouts from a Visualforce Page | Continuation | Asynchronous callouts from VF page

How to do Callout from VF page button

Amit Chaudhary

1 comment:

  1. Thank you for the enlightening tutorial on learning REST API within Salesforce. Your step-by-step guidance on understanding and implementing REST API in Salesforce environments is invaluable for learners. By breaking down complex concepts into digestible chunks, you facilitate a smoother learning journey for individuals looking to master API integration within Salesforce. This resource serves as a cornerstone for expanding our knowledge and proficiency in leveraging REST API, fostering innovation and efficiency in Salesforce development endeavors.