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.

ObjectTypeInput

Request

A new object type.

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

Attributes

5
codestringrequired1–100 characters

Short code, unique in the organization.

namestringrequired1–500 characters

Name.

gl_taggingboolean

Create an analytical dimension for the type and a value in it for each object; omitted means false. Needs the Dimensions module (403 CAPABILITY_DISABLED).

property_defsarray of PropertyDefinitionInput

Property definitions, in display order; omitted means none.

10 attributes of each item
keystringrequired1–100 characters

Machine name, unique within the type.

namestringrequired1–500 characters

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.

One of numeric, text, boolean, contact, address, meter

Details

Fixed once the definition is saved.

idstring (uuid) · nullable

The existing definition to change; omit to add a new one.

is_multiboolean · nullable

Hold several values at once. Omitted or null: false on a new definition, unchanged on an existing one. Turning it off is refused with BILLING_OBJECT_PROPERTY_DEF_MULTI_IN_USE while an object holds several current values.

meter_type_idstring (uuid) · nullable

Required for a meter property and refused for every other kind.

unitstring · nullableat most 50 characters

Unit of a numeric value.

static or dated; omitted means static.

One of static, dated

is_requiredboolean

Every in-use object of the type needs a value; omitted means false.

is_archivedboolean · nullable

true archives the definition, false restores it. Omitted or null leaves an existing definition's state as it is.

external_refstring · nullable1–200 characters

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

Used by