groupById

Returns a single record per id from the time range, instead of all records.

Applies to: timeseries

Value: first or last

  • first: the earliest record of each id in the from and to range, for example the "opening" value.
  • last: the latest record of each id in the range, for example the "closing" value.
https://api-qa.ihsmarkit.com/namespace/Entity/timeseries?id=ID1,ID2,ID3&from=2021-01-01&to=2021-02-01&groupById=last

Important: groupById needs a list of ids. Give them with the id parameter or select them with a latest filter. Time series filters cannot be used. Without ids the request is refused.

groupById cannot be combined with range filters on fields or with sortBy.