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.

ObjectRecord

Response

An object of the resource objects: a unit the organization invoices and allocates costs by — an apartment, a parking space, a vehicle, a rented room. Its type decides which properties it holds. Lists include properties and meters only when asked with expand; GET /{id} always includes them.

Returned in responses. Its enums are open: tolerate values not listed here, which later versions may add.

Attributes

16
idstring (uuid)required

Unique id of the record. Stable for its lifetime.

object_type_idstring (uuid)required

The object's type. It cannot change.

codestringrequired

Short code, unique within the type, e.g. the apartment number. Fixed once the object's dimension value is used by postings (BILLING_OBJECT_CODE_LOCKED); the name can still change.

namestringrequired

Display name.

in_usebooleanrequired

Whether the object is in use. One not in use (an empty unit, a storage room) stays on file but billing skips it.

address_textstring · nullablerequired

The object's address as one line.

ads_oidstring · nullablerequired

The Estonian address register (ADS) object id, when the address was picked from the register.

payment_referencestring · nullablerequired

The object's own structured payment reference (viitenumber), in electronic form. It belongs to the object, not its owner, so it survives an owner change; invoices for the object carry it. Set with objects:assignPaymentReferences.

dimension_value_idstring (uuid) · nullablerequired

The object's value in its type's dimension, when the type has gl_tagging on.

invoiced_untilstring (date) · nullablerequired

The last day an issued invoice for the object covers; null when it was never invoiced.

is_archivedbooleanrequired

Archived objects are hidden and take no new billing.

external_refstring · nullablerequired

Your own id for this record (from the system you migrate from or sync with), unique per organization and resource.

created_atstring (date-time)required

When the record was created.

updated_atstring (date-time)required

When the record last changed; a change to a property value, a meter or the payment reference counts. Also the basis of the ETag.

propertiesarray of PropertyState

Every property of the object's type with its values and their history. Lists include it with expand=properties.

12 attributes of each item
property_def_idstring (uuid)required

The property's definition on the object type.

keystringrequired

The definition's key.

namestringrequired

The definition's display name.

value_typePropertyValueTyperequired

What a property's value is. numeric a decimal number (area, share, resident count); text free text; boolean yes or no; contact a contact of this organization (an owner, a payer, a tenant); address the object's own address (address_text on the object; at most one per type); meter a slot for one meter of one meter type.

Known values (open: expect new ones) numeric, text, boolean, contact, address, meter

Details

Fixed once the definition is saved.

is_multibooleanrequired

Values are in items (true) or slices (false).

meter_type_idstring (uuid) · nullablerequired

For a meter property, the meter type of its slot; its meter is in the object's meters.

temporalityPropertyTemporalityrequired

static: the property holds one value with no history. dated: every value is valid from a date, so a change starts a new value on its effective_from and the earlier one is kept as history; numeric, text, boolean and contact properties can be dated. Fixed once the definition is saved.

Known values (open: expect new ones) static, dated

unitstring · nullablerequired

Unit of a numeric value.

is_requiredbooleanrequired

The definition requires a value.

is_archivedbooleanrequired

The definition is archived; its values are kept for history.

slicesarray of PropertySlicerequired

A single-value property's values, newest first. Empty for a multi-valued property.

6 attributes of each item
valid_fromstring (date)required

First day of this value; 1900-01-01 for a value with no known start.

value_numericstring · nullablerequireddecimal string

The value of a numeric property.

value_textstring · nullablerequired

The value of a text property.

value_booleanboolean · nullablerequired

The value of a boolean property.

value_contact_idstring (uuid) · nullablerequired

The value of a contact property.

contact_namestring · nullablerequired

The name of value_contact_id, for display.

itemsarray of PropertyItemrequired

A multi-valued property's values: current ones first by position, then ended ones, newest first. Empty for a single-value property.

8 attributes of each item
idstring (uuid)required

Item id; item_corrections name an item by it.

positionintegerrequired

Order among the current values, 0 first. Ended items keep their last position.

valid_fromstring (date)required

First day of the value; 1900-01-01 for a value with no known start.

valid_tostring (date) · nullablerequired

Last day of the value; null while it is current.

value_numericstring · nullablerequireddecimal string

The value of a numeric property.

value_textstring · nullablerequired

The value of a text property.

value_contact_idstring (uuid) · nullablerequired

The value of a contact property.

contact_namestring · nullablerequired

The name of value_contact_id, for display.

metersarray of Meter

Meters on the object, current ones first, then removed ones, newest first. Lists include it with expand=meters.

24 attributes of each item
idstring (uuid)required

Meter id; a reading names its meter by it.

object_idstring (uuid)required

The object the meter is on.

property_def_idstring (uuid)required

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

meter_type_idstring (uuid)required

What the meter measures, from its property's definition.

meter_type_namestringrequired

The meter type's name, for display.

unitstring · nullablerequired

The meter type's unit of readings.

serialstring · nullablerequired

Serial number printed on the meter.

locationstring · nullablerequired

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

installed_onstring (date)required

Day the meter was installed.

initial_valuestringrequireddecimal string

The meter's reading when it was installed.

removed_onstring (date) · nullablerequired

Day the meter was taken out; null while it is current.

final_valuestring · nullablerequireddecimal string

The meter's reading when it was taken out; null while it is current.

statusstringrequired

current while installed, removed once taken out. New values may be added: treat a value you do not know as valid, not as an error.

Known values (open: expect new ones) current, removed

parent_meter_idstring (uuid) · nullablerequired

The main meter this one is a sub-meter of (a building's water main above the apartments' meters); the meter-reconciliation report compares their consumption.

rollover_valuestring · nullablerequireddecimal string

The value at which the counter wraps to zero (100000 for a five-digit counter). A reading below the previous one is then read as a wrap when the wrapped consumption is under half this value, by billing too; otherwise it is a decrease.

collectionstringrequired

How readings arrive, typed in or reported (manual) or read remotely (remote). New values may be added: treat a value you do not know as valid, not as an error.

Known values (open: expect new ones) manual, remote

replaces_meter_idstring (uuid) · nullablerequired

The meter that was in this property before this one.

replaced_by_meter_idstring (uuid) · nullablerequired

The meter that followed this one in its property.

last_reading_valuestring · nullablerequireddecimal string

The latest stored reading; null when there is none. Derived: a new reading does not move the meter's updated_at.

last_reading_atstring (date-time) · nullablerequired

When the latest stored reading was taken.

reading_countintegerrequired

How many readings are stored for the meter.

external_refstring · nullablerequired

Your own id for this record (from the system you migrate from or sync with), unique per organization and resource.

created_atstring (date-time)required

When the record was created.

updated_atstring (date-time)required

When the record last changed. Also the basis of the ETag.

Used by