Skip to main content
Solved

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


Forum|alt.badge.img+3
  • Do Gooder (Partner)
  • 5 replies

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.

Best answer by DrJeffreyWhite

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

 

View original
Did this topic help you find an answer to your question?

2 replies

DrJeffreyWhite
Do Gooder (Partner)
Forum|alt.badge.img+4
  • Do Gooder (Partner)
  • 10 replies
  • Answer
  • May 1, 2022

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

 


Forum|alt.badge.img+3
  • Author
  • Do Gooder (Partner)
  • 5 replies
  • May 3, 2022

@DrJeffreyWhite I was able to get the data that way. Thanks for your help đŸ˜Š


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings