How to input data into API and display data from API?
Question

I am quite new with Outsystems and I have went through the course and training provided by Outsystems. I also watch youtube videos about it. I'm still not sure where it went wrong. I want to input a value and display the data. Because the API need inputs then it can give the outputs. Can anyone help me? I have attach the OML file.

DestinationTravel.oml

Hi Dawn,

Here I have attached the screen shot of API and it's input and output usage,

I have fetched the API in preparation of screen and used API's Response to display the data,


Hope this helps,

Thanks !

Hi Dawn,

I commented below code in ButtonOnClick event and the Data starts coming from the API.

You are checking IsDataFetched before the API call and its false causing the error.




Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.