Create a new Meter.
When you create a Meter, you can define two types of field for usage data collection and ingest into the platform:
dataFields to collect raw usage data measures - numeric quantitative data values or non-numeric point data values.derivedFields to derive usage data measures that are the result of applying a calculation to dataFields, customFields, or system Timestamp fields.You can also:
customFields for a Meter, which allows you to attach custom data to the Meter as name/value pairs.IMPORTANT! - use of PII: The use of any of your end-customers’ Personally Identifiable Information (PII) in m3ter is restricted to a few fields on the Account entity. Please ensure that any fields you configure for Meters, such as Data Fields or Derived Fields, do not contain any end-customer PII data. See the Introduction section above for more details.
See also:
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.
Descriptive name for the Meter.
1 - 200Code of the Meter - unique short code used to identify the Meter.
NOTE: Code has a maximum length of 80 characters and must not contain non-printable or whitespace characters (except space), and cannot start/end with whitespace.
1 - 80Used to submit categorized raw usage data values for ingest into the platform - either numeric quantitative values or non-numeric data values. At least one required per Meter; maximum 15 per Meter.
1 - 15 elementsUsed to submit usage data values for ingest into the platform that are the result of a calculation performed on dataFields, customFields, or system Timestamp fields. Raw usage data is not submitted using derivedFields. Maximum 15 per Meter. (Optional).
Note: Required parameter. If you want to create a Meter without Derived Fields, use an empty array []. If you use a null, you'll receive an error.
15The version number of the entity:
UUID of the product the Meter belongs to. (Optional) - if left blank, the Meter is global.
36UUID of the group the Meter belongs to. (Optional).
36Return the created Meter
The UUID of the entity.
The version number:
User defined fields enabling you to attach custom data. The value for a custom field can be either a string or a number.
If customFields can also be defined for this entity at the Organizational level,customField values defined at individual level override values of customFields with the same name defined at Organization level.
See Working with Custom Fields in the m3ter documentation for more information.
UUID of the Product the Meter belongs to. (Optional) - if blank, the Meter is global.
UUID of the MeterGroup the Meter belongs to. (Optional).
Descriptive name for the Meter.
Code of the Meter - unique short code used to identify the Meter.
Used to submit categorized raw usage data values for ingest into the platform - either numeric quantitative values or non-numeric data values. At least one required per Meter; maximum 15 per Meter.
Used to submit usage data values for ingest into the platform that are the result of a calculation performed on dataFields, customFields, or system Timestamp fields. Raw usage data is not submitted using derivedFields. Maximum 15 per Meter. (Optional).
The DateTime when the meter was created (in ISO-8601 format).
The DateTime when the meter was last modified (in ISO-8601 format).
The id of the user who created this meter.
The id of the user who last modified this meter.