15

Outbound Integrations – REST

In the previous chapter, we discussed how we can build custom endpoints within Apex to allow external systems to make calls into Salesforce so that data can be handled and processed. Often as developers, we will have a requirement to make a callout to an external service via a REST API to retrieve data that is used as part of our processing. As an example, we may want to retrieve some address information based on a provided zip or postal code or retrieve the latest price of an item from a product information system.

In this chapter, we are going to cover how to make callouts to external services to both send and retrieve data, as well as the different security options and tools Salesforce provides to make it easier ...

Get Mastering Apex Programming - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.