10
Integrations with the Force.com Platform using Custom Apex REST Services Andy Boettcher Chief Architect @ Demand Chain Systems / 3x Salesforce MVP @andyboettcher Designing Apex REST services for cross-platform usability

Integrations with the Force.com Platform Using Custom Apex REST Services

Embed Size (px)

Citation preview

Integrations with the Force.com Platform using Custom Apex REST Services

 Andy Boettcher  Chief Architect @ Demand Chain Systems / 3x Salesforce MVP  @andyboettcher  

Designing Apex REST services for cross-platform usability

Andy Boettcher Chief Architect, Demand Chain Systems

3x Salesforce MVP

Co-Leader, Minnesota Salesforce.com Developer Group

v  What you will be learning

v  Architecture

v  Request / Response inner classes

v  Apex REST class

v  Routing multiple actions without use of REST OPTIONS

v  Summary and recap

v  Q&A

What should you expect from this session? Overview

v  REST and JSON = standard

v  External systems do not need platform knowledge

v  Control of business process vs. raw API access

v  Automatic synchronization with object metadata

v  Synchronous processing

v  Context-appropriate responses

v  Quick and easy to implement

v  Why not just use standard API?

What are you blabbering about?  Why should we care?

Architectural Snapshot  How does this flow?

Code Sample #1 Inner classes, request/response

Code Sample #2 Apex REST handler and action routing

Solution Demo Watch the solution in action!

v  Integrate with REST-capable external systems

v  Business process focus vs. raw API

v  Future-proof

v  Extensible

v  Github.com/techman97

Summary and recap  Again, what are we learning?

Thank you