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.

MeterCreateRequest

Request

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

Attributes

2
dataMeterInputrequired

A meter to install.

11 attributes of data
object_idstring (uuid)required

The object the meter goes on.

property_def_idstring (uuid)required

The meter property (slot) of the object's type it fills.

installed_onstring (date)required

Day the meter was installed; with replaces, also the day the old one was taken out.

initial_valuestringrequireddecimal string

The meter's reading when it was installed (at most 3 fraction digits).

serialstring · nullableat most 100 characters

Serial number printed on the meter.

locationstring · nullableat most 200 characters

Where the meter is, e.g. bathroom or basement.

parent_meter_idstring (uuid) · nullable

The main meter this one is a sub-meter of.

rollover_valuestring · nullabledecimal string

The value at which the counter wraps to zero, greater than 0 (at most 3 fraction digits).

collectionstringdefault "manual"

How readings arrive, typed in or reported (manual) or read remotely (remote).

One of manual, remote

replacesMeterReplacement · nullable

Replace the property's current meter, which is taken out on installed_on.

2 attributes of replaces
meter_idstring (uuid)required

The property's current meter, which the new one replaces.

final_valuestringrequireddecimal string

Its reading at removal (at most 3 fraction digits).

external_refstring · nullable1–200 characters

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

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.

Used by