REST Service trigger - Forum - Rollbase - Progress Community

REST Service trigger

 Forum

REST Service trigger

This question is answered

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. 

Verified Answer
    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
  • You probably tried that, but just in case:

    var my_string = rbv_api.jsonToString( my_array )

    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