Solved

Plsql_Rest_Sender_API.Call_Rest_EndPoint - Is there a way to pass the request body to the callback function

  • 20 April 2022
  • 2 replies
  • 425 views

Badge +3

Hello,

Is there a way to pass the request body  (CLOB) which was passed in the Plsql_Rest_Sender_API.Call_Rest_EndPoint back to the callback function? Or any other way to retrieve the payload of the rest call to the callback function (other than including it in the response body) 

Tried to include it in the key_ref_ but since the value is greater than VARCHAR2(1000) it’s failing.

icon

Best answer by DrJeffreyWhite 1 May 2022, 18:57

View original

2 replies

Userlevel 2
Badge +4

You can query these values.  The app_message_id_ is passed to your callback as a parameter.

 

SELECT *
FROM IFSAPP.MESSAGE_BODY a1
WHERE a1.APPLICATION_MESSAGE_ID = app_message_id_

 

MESSAGE_TEXT - contains the body

PARAMETERS - contains the parameters sent

 

Badge +3

@DrJeffreyWhite I was able to get the data that way. Thanks for your help 😊

Reply