Update Meter
Update the Meter with the given UUID.
Note: If you have created Custom Fields for a Meter, when you use this endpoint to update the Meter use the customFields parameter to preserve those Custom Fields. If you omit them from the update request, they will be lost.
Authorizations
Path Parameters
Body
Code 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 - 80^([^[\p{Cntrl}\s]])|([^[\p{Cntrl}\s]][[^[\p{Cntrl}\s]] ]*[^[\p{Cntrl}\s]])$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).
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:
- Create entity: Not valid for initial insertion of new entity - do not use for Create. On initial Create, version is set at 1 and listed in the response.
- Update Entity: On Update, version is required and must match the existing version because a check is performed to ensure sequential versioning is preserved. Version is incremented by 1 and listed in the response.
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.
Response
Return the updated Meter
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.