Simple integration scenario with outbound REST call ?

Posted by Rollbase User on 01-Jul-2013 08:29

I'm totally new to RB, can someone kindly explain/outline how I could make a simple *outbound* REST call to a public service e.g. worldweatheronline ? For a very simple PoC, I was hoping I could add a trigger (with an underlying integration link field) to an existing Customer object and retrieve the weather situation for a zip code. How does one map the result set from the REST call to a set of variables ? Gary

All Replies

Posted by Admin on 15-Jul-2013 09:28

Hi Gary,



There is no direct way to map results from REST call to Rollbase variables.



You need to parse the values of the response received and then invoke appropriate Rollbase rest API like update2 or setDataField



Rollbase has API to parse XML document in server-side script, this may be helpful.

Refer page 190 of http://www.rollbase.com/download/Rollbase_in_Action.pdf



Thank You,

Srikanth

Progress|Rollbase Product Support Team





This thread is closed