30
Views
4
Comments
Solved
Api output
Question
Application Type
Reactive

Hi All,

I want to consume rest Api  and also want to fetch all response or Output:

But its not Automatic create structure and output is like this :


But I need this type output:

I want to response 



Thanks

Mansur


2019-06-15 21-39-22
Afonso Carvalho
 
MVP
Solution

Hello,

If you go to the Test tab in that popup, you'll see an interface that allows you to invoke the API. Once you receive a response from this test invocation, you'll enable a button named "Copy to response body":

And if you click on it, it will automatically generate the Response structure you're looking for.

UserImage.jpg
Md Mansur

Thank you @Afonso Carvalho 

2023-10-21 19-42-11
Tousif Khan
Champion

Hello @MD Mansur 

I am sharing some resources from where yo will get this in more detail,

I am attaching Images just follow the steps and you will get the desired output.


Response Structure


Please Go through these links to have a detail information on how we use Rest in OutSystems

https://success.outsystems.com/Documentation/11/Extensibility_and_Integration/REST


Also check Out the Course-

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


I hope This will clear all your doubts

Thanks

Tousif

UserImage.jpg
Md Mansur

Thank you @Tousif Khan 

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