When developing applications with Kuika, creating custom actions with the API provides a powerful way to extend the functionality of your application and make data operations more dynamic. You can create various data source connections and actions in your application using Swagger API via Kuika's Datasource module. In this content, you will learn how to create custom actions with the API, how to configure them and why they are important in your application development process.
This training content consists of the following topics:
Now you can add the actions defined in Kuika Swagger API to your application and use them in various screens. In this example, we will create a table screen where product stocks are listed.
Now let's define how each column in the table will be mapped to the data from the API:
Once you have made all the adjustments, click Preview to test your application and check if the data from the API is correctly imported into the table.