I have tried to get API responses as I want but it shows a list of text, how can I customize the API response?
Hi ,
can you share the response format what you are greeting and what format you except.
thanks
cv
This is the response I got ,as a list of text..but I need a key point only because user's are not having that much time to read all of this text .
Hi @Dhanalashmi Murugan,
You can customize your response by using OnAfterResponse of API.
What you need to customize you can do it here.
or we have one reference document link that also I am attaching you can refer that also:
https://success.outsystems.com/documentation/10/extensibility_and_integration/rest/expose_rest_apis/customize_rest_api_responses/
Hope this helps you!!
Regards,
Rajat
Hi @Rajat Agrawal , Thanks for your response.
Hi Dhanalashmi,
Why do you need to change the actual API response? You write "I need a key point only because user's are not having that much time to read all of this text", but if it's about presenting the information to users, it's just wrapping the API call in a public action and change the data in that action? You don't need to do anything with the API response before it reaches the calling action?