2. Using Swagger API Actions on the Application Screen

  1. Create a list screen: Add a Table element to list product stocks.
  1. Name the table columns: ID, Stock Code, Product Name, Barcode, etc.
  1. 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.
  2. 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.