Update Meter
Changed onUpdate 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.
Request
- Base URLhttps://api.m3ter.com
- AuthOAuth 2Authorization codehttps://m3ter.auth.us-east-1.amazoncognito.com/oauth2/authorize, token URL https://m3ter.auth.us-east-1.amazoncognito.com/oauth2/tokenClient credentialsToken URL /oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
UUID of the organization. The Organization represents your company as a direct customer of the m3ter service.
The UUID of the Meter to update.
Request body
Response
Return the updated Meter
Changes
- breaking
added
subschema #1subschema #2to the/////request propertyallOflist - breaking
the
////request property type changed from no type toobject - breaking
the
request property type changed from no type toobject - breaking
the
///request property type changed from no type toobject - breaking
the
////response's property type changed from no type toobjectfor status - breaking
the
response's property type changed from no type toobjectfor status - breaking
the
///response's property type changed from no type toobjectfor status
- breaking
- breaking
the response property
////////became optional for the status - breaking
the response property
////became optional for the status - warning
the
////request property's maxLength was set to5000
- breaking