2. Using Swagger API Actions on the Application Screen
- Create a list screen: Add a Table element to list product stocks.
- Name the table columns: ID, Stock Code, Product Name, Barcode, etc.
- Add Initial Action:
- Click +ADD ACTION button from Properties panel.
- Follow the path Initial Actions > Custom > Datasource.
- Select Stock Get Product List From Rest action underRest heading.
- Connect the table data source:
- From the Properties panel, go to the Datasource menu.
- Under theAction heading, select the Stock Get Product List From Rest action.