Rest API - Error status
Summary
How to get error status from APIContent
Hi All,
I have created REST apis in OIC to insert and update records in Oracle DB. I have slected POST and PATCH methods in APIs. Sometimes when an error occurs REST api doesn't return an error code, but always return 202 accepted. If we see the OIC logs, exceptions will be present. We are invoking these APIs from VBCS and how can we show an error message on the screen when error occurs as the API always returns 202 regardless of success or failure
Regards,
Rekha
Tagged:
0