Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Path to Code
Begin Your Salesforce Coding Adventure
Episode 11
Building & Exposing REST APIs in Salesforce
• Enterprise Solutions Architect
• Global Community Speaker
Jigar Shah
@jigarshah189
Agenda
• REST Fundamentals
• Salesforce REST
• Need for Apex REST
• Understanding REST Annotations
• Building & Exposing A...
Some Housekeeping Rules…
• Mute your mic
• Keep adding questions in Zoom Q&A Window
• No questions are silly!
• Questions ...
Decoding REST Fundamentals
Service
Provider
(Salesforce)
Service
Consumer
HTTP / HTTPS
1. Header
2. Body
1. Who?
2. What?
...
Salesforce REST
Salesforce’s API first approach exposes features as RESTful Services also
termed as Salesforce REST
/servi...
Demo 1
Consuming Salesforce REST
Need for Apex REST
• Perform complex processing logic
• Return custom responses
• Bulk record manipulation
• Processing re...
Understanding REST Annotations
Building Apex RESTful Services
https://yourInstance.salesforce.com/services/apexrest/<RestUrlMapping>
Demo 2
Building RESTful Services in Apex
Apex REST Considerations
• What can Apex REST receive and give back?
• Security context of Apex REST Services
• Including ...
Resources
 Exposing Apex Classes as REST Web Services
 REST Controller Frameworks (Blog)
 Json2Apex
 cURL Download
Trailhead Modules
Lightning Platform API Basics Apex Web Services
Q & A
Thank You
Subscribe
You’ve finished this document.
Download and read it offline.
Upcoming SlideShare
What to Upload to SlideShare
Next
Upcoming SlideShare
What to Upload to SlideShare
Next
Download to read offline and view in fullscreen.

Share

Episode 11 building & exposing rest api in salesforce v1.0

Download to read offline

How to create Rest API in Salesforce

  • Be the first to like this

Episode 11 building & exposing rest api in salesforce v1.0

  1. 1. Path to Code Begin Your Salesforce Coding Adventure
  2. 2. Episode 11 Building & Exposing REST APIs in Salesforce
  3. 3. • Enterprise Solutions Architect • Global Community Speaker Jigar Shah @jigarshah189
  4. 4. Agenda • REST Fundamentals • Salesforce REST • Need for Apex REST • Understanding REST Annotations • Building & Exposing Apex REST Services • Apex REST Considerations • Q&A
  5. 5. Some Housekeeping Rules… • Mute your mic • Keep adding questions in Zoom Q&A Window • No questions are silly! • Questions will be answered in the last 15 mins of this session
  6. 6. Decoding REST Fundamentals Service Provider (Salesforce) Service Consumer HTTP / HTTPS 1. Header 2. Body 1. Who? 2. What? 3. Where? 4. How? REST URI 1 2 4 3
  7. 7. Salesforce REST Salesforce’s API first approach exposes features as RESTful Services also termed as Salesforce REST /services/data/v44.0/limits /services/data/v44.0/sobjects/query?q=select+id+from+Account /services/data/v44.0/sobjects/Account/0011U00000BgGjuQAF?fields=id,name ,type
  8. 8. Demo 1 Consuming Salesforce REST
  9. 9. Need for Apex REST • Perform complex processing logic • Return custom responses • Bulk record manipulation • Processing related objects
  10. 10. Understanding REST Annotations
  11. 11. Building Apex RESTful Services https://yourInstance.salesforce.com/services/apexrest/<RestUrlMapping>
  12. 12. Demo 2 Building RESTful Services in Apex
  13. 13. Apex REST Considerations • What can Apex REST receive and give back? • Security context of Apex REST Services • Including REST Services within Managed Packages
  14. 14. Resources  Exposing Apex Classes as REST Web Services  REST Controller Frameworks (Blog)  Json2Apex  cURL Download
  15. 15. Trailhead Modules Lightning Platform API Basics Apex Web Services
  16. 16. Q & A
  17. 17. Thank You
  18. 18. Subscribe

How to create Rest API in Salesforce

Views

Total views

2,046

On Slideshare

0

From embeds

0

Number of embeds

1,772

Actions

Downloads

20

Shares

0

Comments

0

Likes

0

×