Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORDS RESTful Service POST message returned

jacknomiz5 days ago — edited 5 days ago

Hi, I'm creating an ORDS RESTful POST Service in APEX SQL Workshop RESTful services.

I'm testing it in Postman, it runs fine. Depending on parameters passed, either a record is inserted or updated or nothing happens when no match. In all cases I'm getting a status 200 success.

My question is how can I configure it to return a custom user message indicating what happened - ie either insert, update or no match found. I already capture this information, but I don't know how to pass it back from the Post Handler to the caller.

I can't seem to get it done using OUT parameters, but HTP.print works and message is displayed in the body.

Could you please point me in the right direction.

Thanks in advance

This post has been answered by jacknomiz on Jan 14 2026
Jump to Answer
Comments
Post Details
Added 5 days ago
1 comment
39 views