Choose what you allow. Your choice applies on every tracken.ee address and you can change it any time with “Cookie settings” in the footer.

Remember your cookie choice, language and theme. Without them the site doesn't work the way you chose.

A cookie with your choice (6 months); language and theme in browser storage.


The services below learn that you visited this site, whether you came from their ad and whether you then created a Tracken account. That shows us which ads work, and these companies may show you Tracken ads later. They may link the data to your account with them. For Meta, Tracken ID's server reports the new account and also sends a hash of your e-mail address, your IP address and browser details.

ServiceCookiesKept for up to
Meta (Facebook, Instagram)_fbp, _fbc90 days

Tracken's own visit counter uses no cookies, stores no IP addresses and shares nothing with anyone. Privacy policy

Skip to content
Beta
BetaThe Tracken Accounts API is in beta: it may still change before v1, and every change is announced in the changelog.

MeterReadingCreateRequest

Request

Sent in requests. Its values are closed: anything not listed is refused.

Attributes

3
dataMeterReadingInputrequired

A reading to record.

9 attributes of data
meter_idstring (uuid)required

The meter read.

datestring (date)required

Day of the reading (Europe/Tallinn).

valuestringrequireddecimal string

Meter value (at most 3 fraction digits).

reasonReadingReasondefault "regular"

Why the reading exists; defaults to regular.

One of regular, owner_reported, check, owner_change, late_correction, estimated, other

notestring · nullableat most 1000 characters

Explanation; required when reason is other.

sourceReadingSourcedefault "manual"

How the value was obtained; defaults to manual.

One of manual, assisted, file, provider, remote, estimate

submitted_bystring · nullable1–200 characters

Who supplied the value, as the submitting system names them (e.g. a resident in a connected app). Recorded, never used for access.

external_refstring · nullable1–200 characters

Your own id for the reading, unique per organization; on_conflict resolves a create against it.

periodstring (date) · nullable

First day of the billing period a late reading is reported for: an earlier month no issued invoice of the object measured yet, never later than the month of date. Omitted, the month of date. Otherwise 400 READING_PERIOD_INVALID (pointer /data/period).

on_conflictOnConflictdefault "error"

What a create does when a record of the same resource already holds the sent external_ref. error: 409 EXTERNAL_REF_EXISTS with existing_id. return: 200 with the existing record, unchanged.

One of error, return, update

Details

update: apply the sent fields to it as a PATCH would and answer 200; refused like a PATCH when the record is no longer editable.

confirm_non_monotoneboolean

Record the reading although it does not fit between its neighbouring readings (lower than the one before it or higher than the one after), keeping the reason it is sent with, the way a confirmed row of the web app's readings grid is recorded; e.g. a migration carrying a source's confirmed readings.

Details

Without it such a reading is 409 METER_READING_NOT_MONOTONE. It confirms only the order: a reading outside the meter's life, on a taken day or in an invoiced period is refused all the same. Omitted: false.

Used by