Rest API write to Databse

Rest API write to Databse

  

Hi,

I've successfully integrated one API but i want to know if someone knows how to use the data from the API to be written into an existing database?

I have an input that i can add something manually , but i would like to have the result of some specific fields from the API written to the database.

Solution

You would have to create an action that takes the Structure that comes back from the API call and convert then assign the data from each Structure to an entity and create it.

It would look something like this

Does that answer your question?

Solution

Jordan Welch wrote:

You would have to create an action that takes the Structure that comes back from the API call and convert then assign the data from each Structure to an entity and create it.

It would look something like this

Does that answer your question?

Hi Jordan, thanks for the reply. Meanwhile found a way to do it by filling the input variable(same as DB field) with the outcome of the API. By assigning the API outcome to the input variable.

Thank you