Services :: JSON output

PaulVPaulV Member Posts: 5 Contributor II
edited January 2020 in Help
Hi all,

We are integrating our processes into a workflow by exposing them as webservices on the server with JSON output. This currently works very well.

Currently the server returns the output result sets as follows:
[{"Country":"NL","City":"test","Customer":"test"}]

However for a new version we would like to categorize the result output of the processes into named JSON objects. e.g:
{"customerDetails":[{"Country":"NL","City":"test","Customer":"test"}]
{"outcome":[{"Result":"1"}]

Basically every result port of the process into a JSON object.

Any ideas on how to achieve this?

Many thanks!

Best regards

Paul
Tagged:
Sign In or Register to comment.