{
$expand: {
Owner: {
dataShape: {
....
},
query: {
....
},
$expand: {
....
}
},
Operator: {
....
}
}
}
The actual behavior and contents of the "dataShape" and "query" values are detailed in the following table.
Value
|
Description
|
---|---|
dataShape
|
The "dataShape" key defines the fields to select from the expanded role via a ThingWorx data shape. The value of the field
can either be the name of a persistent ThingWorx data shape entity or the JSON object form of a ThingWorx DataShapeDefinition.
|
query
|
The "query" key defines a ThingWorx Query to filter and/or sort the expanded role results. The value of the field must be
the JSON object form of a ThingWorx Query.
|
Nested $expand
|
An "$expand" key nested within an outer $expand key indicates an expansion to be performed upon the expansion results themselves.
The format of this element is the same as $expand.
|