Aggregate Joined
aggregate_joinedFull Description
Aggregates data across a supported pre-approved join in Asset Vision Data Services. Join selection is limited to the connector's supported join definitions. Field naming:
- Left.<Field> refers to a field from the left side of the join.
- Right.<Field> refers to a field from the right side of the join.
Supported operators:
- eq, ne, gt, gte, lt, lte, contains, startswith, endswith, in, isnull, isnotnull.
Notes:
- Null foreign-key relationships can be excluded with op 'isnotnull'.
Special values:
- '@me' (or 'me') may be used on supported user-related fields to refer to the current authenticated user.
Examples:
- groupBy: ["Right.AssetName", "Right.CurrentStatus"]
- aggregates: [{ func: "count", field: "Left.ID", as: "JobCount" }]
Request format:
- Provide arguments inside a top-level object named "req".
- Example: { "req": { "field": "value" } }
- Requests without the "req" wrapper are invalid.
Parameters (1 required)
reqobject