Retrieve multiple consumption data by their ids
Required capabilities:
projectsAcl:LIST
Retrieves multiple consumption data items by their IDs.
- Without
startandnumberOfDatapoints: Returns meter metadata. - With
startandnumberOfDatapoints: Returns historical time-series data with averaged values.
Authorizations
Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.
Scopes
Body
Request body for multi-get endpoint.
Note: To protect backend resources, the number of IDs is limited.
When requesting historical data, each ID returns numberOfDatapoints data points,
so keep the number of IDs reasonable for optimal performance.
Response
The requested consumption data. Returns meter metadata unless 'start' and 'numberOfDataPoints' are provided. When they are provided, includes historical time-series data with averaged values.