Getting started
Concepts
- Model concepts
- API concepts
- API versions
- Entitlements
- Filters
- Request parameters
- Usage quota
- Error codes
Services
Parameters
- after
- aggregate
- aggregateIncrementFrom
- cursor
- dateFormat
- descending
- entity
- envelope
- fields
- format
- from
- groupBy
- groupById
- groupByIdAndTime
- groupByTo
- includeMetaData
- inline
- inlineLatest
- inlineTimeseries
- limit
- modulus
- nextUrl
- part
- pivot
- rankBy
- requestTimeout
- returnPreSignedUrl
- showMessage
- showStreamCursor
- to
- trace
- verifyLinks
- wait
Deprecated parameters
Datasets
- ECR: timeseries and observations
- ECR: usage patterns
- fiindices: retrieving index data
- Parsing: asset classes
- Parsing: best practices
Samples
groupBy
Returns one record per value of a field, the most recent one.
Applies to: latest
Value: the name of a field that is enabled for grouping in the dataset. The fields that can be used are shown by the meta service with groupBy=true.
In datasets where latest data is identified by two fields, such as an identifier field and batch, groupBy returns a single record for each value of the field with the most recent record selected. The request must also contain a filter on the same field, for example batch>=... or batch=....
https://consumer.qa.data.spglobal.com/namespace/Entity/latest?batch=B1,B2&groupBy=batch