REST Service trigger

Posted by leonc on 16-Sep-2018 11:09

I have a private cloud of Rollbase running the latest version.

I have a trigger that utilizes a REST service and posts new records to that service.

One field of the records is an array of values.

I am trying to post that array, tried different ways but with no luck so far.

Does anybody know how can I do that?

Thank you in advance. 

Posted by Ruben Dröge on 17-Sep-2018 03:11

  1. What value does your REST service that your posting to expect (an array as well)?
  2. This 'array' of records, how is that built up from a RB perspective?
  3. Converting your JSON array to a string might work, depending on things mentioned above

All Replies

Posted by claudemlandry on 16-Sep-2018 16:29

You probably tried that, but just in case:

var my_string = rbv_api.jsonToString( my_array )

Posted by Ruben Dröge on 17-Sep-2018 03:11

  1. What value does your REST service that your posting to expect (an array as well)?
  2. This 'array' of records, how is that built up from a RB perspective?
  3. Converting your JSON array to a string might work, depending on things mentioned above

This thread is closed