I am trying to expose a REST API that just returns all data for a given O11 database entity. Following the instructions here:
Expose a REST API - OutSystems 11 Documentation
The part that I'm stuck on is Step 4 -
"Design the method as an action that retrieves or manipulates the data you are exposing. "
In my example, I have a GetProjects REST API method I created. I then attempted to build out the client action to retrieve an aggregate of the projects. I also attempted to add a JSON serialize step. Calls to my endpoint don't return any data, so I'm not sure what configuration is required here.
Does anyone have a pointer do an example / tutorial showing the full end-to-end process for getting a REST API exposed, including the design of the data action to prepare the data?
Follow the below steps to expose GetProjects REST API
Thank you Siya. It was the output parameter that I was missing. It works now