latestOpenAPI 3.0.02026-08-2217901.1 MB
ef9153fcac7c
Meters
Update meter
patch/meters/{id}
Path parameters
idinteger required
ID of the meter
Query parameters
skipWebhookboolean
Set skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks
Request body
Example request
{
"assetId": 123,
"locationId": 123,
"description": "This meter is used for monitoring the temperature of the boiler",
"unit": "Celsius"
}Response
Successfully edited meter
Example response
{
"meter": {
"id": 123,
"assetId": 123,
"locationId": 123,
"creatorId": 123,
"updaterId": 123,
"uuid": "cd6fdffd-c9e2-4a40-9715-a182a6e5b557",
"description": "This meter is used for monitoring the temperature of the boiler",
"measurementType": "AUTOMATED_SENSOR",
"unit": "Celsius",
"createdAt": "2022-01-01T00:00:00.000Z",
"updatedAt": "2022-01-01T00:00:00.000Z",
"deletedAt": "2022-01-01T00:00:00.000Z"
}
}