Wednesday, 11 January 2017

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


REST API
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 Force.com 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



Thanks
Amit Chaudhary