At this point we know that SAP AppGyver is used to create apps and we’ve also learned a bit about SAP Sales Cloud. Also, we’ve established that we want to create an extension application using SAP AppGyver and get the appointments data from SAP Sales Cloud.
Now that you understand the scenario, in this lesson we will focus on making a plan for how to build the application, and on understanding how to get the appointments data into our application, and what resources we need to achieve that. How are we going to get the data from SAP Sales Cloud into the SAP AppGyver app? Well, what we need is called an API, an OData API to be exact, and we will use it to connect the data from SAP Sales Cloud to the extension we will be building in SAP AppGyver! Let’s first spend a moment learning about the API part in more detail, then we’ll follow a 3-step plan to build the app extension.
What is the SAP Sales Cloud API?
To create an extension with SAP AppGyver we need to access data in SAP Sales Cloud. We’ll do this by creating an integration from SAP AppGyver to the SAP Sales Cloud OData API.
SAP Sales Cloud OData API is quite a mouthful of words so let’s unpack it a bit. We already have an idea what SAP Sales Cloud is, but what is an API and what is an OData API?
An API is a way to communicate with a system to fetch or write data to or from the system, or to perform some action in the system. You might remember APIs from an earlier unit, where Esmeé taught you how to leverage an API in her bar scanner app. Generally, APIs are used by applications and services. In our specific use case, we might look up the appointments list in SAP Sales Cloud but the application extension we’re going to build will fetch this data from the SAP Sales Cloud API.
And what about OData? OData stands for Open Data, and it is one of the open standards used for APIs. (An "open standard" in very broad terms means it is publicly available.) In the SAP world, OData is used for a large number of APIs, so OData is going to be of interest to us when working with SAP products, including SAP Sales Cloud.
Of course, SAP AppGyver is also able to make connections to OData APIs which is going to help us a lot with the integration.
We’ll go into more detail on the OData API as we configure the integration in SAP AppGyver.