Passing Input from screen to rest API and consuming output from rest API
Question

I am trying to consume a rest API, for that I have to populate different input from my screen to rest API. How can I pass same to rest API. Also how will I consume the output received from Rest API and display on my screen

mvp_badge
MVP
Solution

Hi Shraddha,

Please go through the below tutorial and you will find all the answers related to API integration.

https://www.outsystems.com/training/courses/116/integrating-with-web-services/ 

Please find the attached oml as well for reference from this tutorial. 

Regards,

Manish Jawla

RESTContacts.oml

thanks much Manish, I was able to implement after watching trining

mvp_badge
MVP

Your welcome, Glad to help you.

Regards,

Manish Jawla

Champion
Solution

Hi 

In addition to Manish's reply. Please also refer to this document,

Kind regards,

thanks much Tom

If the API is already created you can call it in your screen passing the inputs to the API.

To display the output received you just need to read it from the API.

mvp_badge
MVP
Solution

Hi Shraddha,

Please go through the below tutorial and you will find all the answers related to API integration.

https://www.outsystems.com/training/courses/116/integrating-with-web-services/ 

Please find the attached oml as well for reference from this tutorial. 

Regards,

Manish Jawla

RESTContacts.oml

thanks much Manish, I was able to implement after watching trining

mvp_badge
MVP

Your welcome, Glad to help you.

Regards,

Manish Jawla

Champion
Solution

Hi 

In addition to Manish's reply. Please also refer to this document,

Kind regards,

thanks much Tom

Hi Shradda,

if you're happy with the information offered, please mark the right post as the Solution.

Best regards

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