Skip to main content

Hi,

Through Event and Event action, I am executing some SQL statement, converting result set as JSON and putting into Application message. Through Routing congifuration, trying to call an REST API POST method. Here my issue is, REST API is expecting to post data in the body in below format. How can I frame the body as like below. Please let me know. I don’t see any option to frame body in routing address, routing rule any where….

{

  “ifscloudmessagedata” : <Data from Application Message>

}

Hi,

Through Event and Event action, I am executing some SQL statement, converting result set as JSON and putting into Application message. Through Routing congifuration, trying to call an REST API POST method. Here my issue is, REST API is expecting to post data in the body in below format. How can I frame the body as like below. Please let me know. I don’t see any option to frame body in routing address, routing rule any where….

{

  “ifscloudmessagedata” : <Data from Application Message>

}

 

You could make a transformer to make the resultant json expected by your REST api.

Read more about transformer development here: About Transformer Development - Technical Documentation For IFS Cloud


Reply