Hello,
I am taking one URL from the form to use in the On Before Request > Custom URL Path, where I can pass it to the API.
I only want the ID and Name from the API response. How can I map required Response.
Expected :
I received:
Hi Nihil,
Can you please share the API call action and what output structure you are getting
Regards,
Krushna
Hi Nihil, you can customize the response in OnAfterResponse event in the API.
https://success.outsystems.com/documentation/11/extensibility_and_integration/rest/consume_rest_apis/simple_customizations/
Hello Nihil,
Are you getting full response if you remove whatever logic you have in On Request? Would you mind adding a log in the API method itself to check if some valid response is getting generated at all?
Hope it helps!
Junaid
In my case, I have Two APIs, which is Expose with List "Students" and "employees,", Both having ID,Name, and Class ID.
I am using same ConsumeAPI for both; Students data will come, but employee null records will be Added
I attached OML - Dynamic API Screen