Hello all I am creating an application (online store) I have downloaded api products, categories, images etc. I want all the data downloaded from the api to be stored in DataBase. I'm also making it so that next to each product there is a button (AddToCart) and when I click on it, it moved the product by ID to the shopping cart.
Cześć Bartosz,
Witamy to the OutSystems forum. Unfortunately, this is an English language forum, so please translate your question to English, so we are able to help you. Dziękuję bardzo!
Hello Bartosz,
If I understand your scenario then you are consuming an external API which returns product, categories and images. I am assuming that you have successfully consumed this API to get the response. If that is not the case please refer link below on how to consume API
https://success.outsystems.com/documentation/11/extensibility_and_integration/rest/consume_rest_apis/consume_one_or_more_rest_api_methods/
Once you have imported the API method, service studio would have created necessary structures to store the response. Now you can read the data from these structures and store it in appropriate entities.
Hope it helps!
Junaid