Variable ‘json_’ should be a CLOB containing the json document you would like to transfer. Variables ‘url_params_’ and ‘query_params_’ can be set as in asynchronous REST calls.
Works fine.
Best regards
Heinz
Hi Heinz!
I can’t get your exampel to work for my case
What I’m trying to achive is to get a json string from the customer and with the callback function do updates in IFS.
I do receive the jsonstring into IFSConnect, but it lands to late. Once it’s in connect the Callback function is alredy called but ther is no data to be found at that point. I want the rest call to wait for the GET to be commited before it executes. Do you or anyone have an ide on how to solve this
that’s a differnt approach. If you use a callback function it won’t be synchronously.
Best regards
Heinz
Hi @katase
Set incld_resp_info_ => TRUE when calling Plsql_rest_sender_API.Call_Rest_EndPoint_Empty_Body2 to include the response inside your callback function.
Regards,
Damith
Hi,
that’s a differnt approach. If you use a callback function it won’t be synchronously.
Best regards
Heinz
How will I then get the call back function to be called without having to use a scheduled task to fetch the data from connectivity to enable the update in IFS?
There is a clob as inparameter to the callback function but it’s not containing the json string. The json data from the customer is updated in tabel fndcn_message_body_tab.
Is there a way to have the data returned in callback funktion? That would solve my problem. They way it’s set up is an example that I found in IFS Community