Progress OpenEdge REST tutorial
Exposing data from your application through a standardized protocol such as REST or OpenData is becoming an important part of doing business. Since it is necessary to have data available in your environment for other apps, users and processes, it is important to be able to explore your data fast and reliable. I will show you how ConnectPlaza® achieves this.
First off I have a Progress® OpenEdge® Application Server that is running some ABL code that produces customer data in XML format. This procedure takes an input variable that can specify a customer ID to look for a specific customer in the database. We are going to reuse this existing functionality to expose the data through a REST API using JSON.
We will be exposing 2 REST functions, GetCustomers, which will retrieve a list of all customers and GetCustomerById, which retrieve a single customer based on its ID. The REST functions will deliver the data in JSON format.