JSON Request and response with embedded hierarchical associations
- Last Updated: January 29, 2025
- 1 minute read
- Corticon
- Documentation
The following code presents variations on the input of the OrderProcessing sample's Order Ruletest.
Hierarchical JSON Input—This example shows the
input in its hierarchical structure using the default metadata tags. There are two
orders shipping year after year with the same items, restated in each order. Here is how
that looks in Studio:


The hierarchical request in JSON format with default metadata looks like this:
|
Hierarchical JSON Output—This example shows the
output in its hierarchical structure. Here is how that looks in Studio:


The hierarchical JSON output of only Objects (no Rule Statements) looks
like this:
|