The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Services :: JSON output
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
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:
0