Query and filter usage data collected for your Organization.
You can use several parameters to filter the range of usage data returned:
startDate and endDate to define a period. The query references the timestamp values of usage data submissions for applying the defined time period, and not the time submissions were receivedAt by the platform. Only usage data with a timestamp that falls in the defined time period are returned.(Required)You can apply Aggregations functions to the usage data returned for the query. If you apply Aggregations, you can select to group the data by:
m3ter supports machine to machine authentication using the clientCredentials OAuth2 flow.
The authorizationCode flow controls access for human users via the m3ter Console application.
UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service.
The inclusive start date to define a time period to filter by. (ISO 8601 formatted)
The exclusive end date to define a time period to filter by. (ISO 8601 formatted)
Specify the Meters you want the query to return usage data for.
Specify the Accounts you want the query to return usage data for.
Define Dimension filters you want to apply for the query.
Specify values for Dimension data fields on included Meters. Only data that match the specified Dimension field values will be returned for the query.
Define the Aggregation functions you want to apply to data fields on included Meters:
NOTE! The Aggregation functions that can be applied depend on the data field type:
SUM, MIN, MAX, COUNT, LATEST, or MEAN functions can be applied.COUNT or UNIQUE functions can be applied.If you've applied Aggregations for your query, specify any grouping you want to impose on the returned data:
DAY, HOUR, WEEK, MONTH, or QUARTER.NOTE: If you attempt to impose grouping for a query that doesn't apply Aggregations, you'll receive an error.
Define a limit for the number of usage data items you want the query to return, starting with the most recently received data item.
1 <= x <= 20000Returns a list of usage data
Boolean flag to indicate whether or not there are more data available for the query than are returned:
NOTES:
hasMoreData will be TRUE.limit in your query request at fewer than the number returned by the query, then hasMoreData will be TRUE in the response.