GetAggregates
List stored connection aggregate definitions. All filters are optional. Filter by one or both endpoint types in target (src, dst), by any class names in class (src, connection, dst), or by src_property. An empty command body lists all definitions. Requires objects.read.
[{"GetAggregates": {"class": {"src": "Order"}, "src_property": "line_total"}}]
The response contains status and the returned count. Each entry in aggregates can be used directly as a CreateAggregate command body. It contains the complete connection selector, src_property, operation, and either dst_expression or connection_expression. An unmatched filter returns {"status": 0, "returned": 0, "aggregates": []}.