getPurchaseDocAggregatedData
GET/purchase-docs/reading/headers/:headerId/aggregated-data
This API retrieves the data of the document identified by headerId
(reading doc)
grouped accordingly with the aggregation strategy provided as a parameter. In
particular, data can be aggregated by: line, package, line and package, serials.
It is possible to specify filters to narrow down data based on the consumer's
needs. For each element in the resulting list will be specified a map containing
the values of the filters needed to consult its detail. For example: each group
obtained with the GroupByPackage
aggregation startegy, will have the filtering
attributes to retrieve the items in a package and the serials in it.