I need to extract information in a consumed API and store in the database entities
@Richard Sandaramu
Consume the API
Create a Server Action
Call the API Method in the server action.
Access the Response Data
Map API Data to Entity Attributes
Create or Update Entity Records
Trigger the Server Action created in point #2 :
From a Screen: Add a button or link on a screen that, when clicked, calls the Server Action.
Using a Timer: Configure a Timer to automatically run the Server Action at scheduled intervals.
@Richard Sandaramu : I understand that you need to extract information from an API response, which you’ll be calling from OutSystems, and store that data in a database. This is definitely possible.
To assist you further, could you please provide more details about the API you're calling and the specific information you want to extract and store? If you have an OML file, please share that as well.
hallo @Richard Sandaramu ,
After consuming the API, you just need to create a loop if the response is a list, or create a record directly if it's a single item. Here's an example using a free API and saving the returned data into the database. https://personal-oqbcw6a2.outsystemscloud.com/APIinformationextractiontoentities/Screen1?_ts=638830347395507307