Custom Fields API - Introduction

With our Custom Fields offering, Trackunit Iris can host all the data that you need. Custom Fields will enable you to capture and organize additional metadata that holds significant contextual value, thereby facilitating more robust data categorization and retrieval processes for you and your end-customers.

Additional standard fields for commom metadata

Trackunit provides a number of standard fields for common metadata, that can be used by all customers to extend the available data model.

Field nameDescriptionType (UoM)KeyApplies to
Engine manufacturerManufacturer of the enginedropdown, single-selectengineManufacturerasset
Engine modelModel of the enginetextengineModelasset
Engine serial numberSerial number of the enginetextengineSerialNumberasset
Engine Fuel TypeThe fuel type the main combustion engine consumes.dropdown, single-select (Diesel, Petrol, CNG, LPG, HVO100, Hydrogen, Bio-diesel)engineFuelTypeasset
Fuel Tank Capacity (Total)The total fuel capacity, summed over all tanks.number (L / US Liquid Gallon)fuelTankCapacityTotalasset
Input Voltage ACThe input voltage of an alternating current input, could either be to operate directly or to charge a battery.number (V)inputVoltageACasset
Battery System Rated CapacityTotal rated capacity summed (only if batteries in parallel) over all traction batteries, in ampere-hours.number (Ah)batterySystemRatedCapacityasset
Battery System Rated VoltageThe rated voltage of the traction battery.number (V)batterySystemRatedVoltageasset
Battery System Rated Power CapacityTotal rated energy capacity summed over all traction batteries, in kilo-watt-hoursnumber (kWh)batterySystemRatedPowerCapacityasset
Engine Power ElectricPower output of the electric motor in kilo-Wattsnumber (kW)enginePowerElectricasset
Engine Power CombustionPower output of the combustion motor in kilo-Wattsnumber (kW)enginePowerCombustionasset
Pending telematics devicesAsset is marked for installment of telematics devices.booleanpendingTelematicsDevicesasset
Warranty end dateDate the current warranty of the machine expires.datewarrantyEndDateasset
OEM licensedIs the machine OEM licensed?booleanoem-licensedasset
License PlateAssigned by a governmental authority for identification and registration purposes.textlicensePlateasset
OEM Subscription End DateDate the asset owner's telematics subscription with the OEM expires.dateoemSubscriptionEndDateasset
OEM Subscription Start DateStart date of the asset owner's telematics subscription with the OEM.dateoemSubscriptionStartDateasset
QR CodesList of QR codes' data attached to the asset for identification purposes.textqrCodeIdentifiersasset
RFID tagsList of RFID tag IDs attached to the asset.textrfidTagsasset
OEM Subscription TypeUsed for internal purposes to identify the type of OEM subscription. Not visible in the UI.textoemSubscriptionTypeasset
Billing ReferenceUsed for Trackunit billing purposes to set the billing reference used for invoices.textbillingReferenceasset
Purchase DateDate the asset was purchased.datepurchaseDateasset

How to set values on standard fields

  1. Use the Custom Fields Values API to get all available fields. Specify the entityId for your query, which is an assetId for any fields listed above.
  2. Use the Create, Update or Delete value endpoints for any futher operations on the available fields.

Define your own custom fields

Custom fields provide a way to define new fields in the Trackunit data model. Allowing to extend and customize Trackunit Manager. Currently we support extending the data model of assets, accounts, groups, sites, customers and rental contracts with new fields.

📘

Subscription requirement

IrisX is required to create and change custom field definitions. Learn more about the IrisX subscription

Get started with creating custom fields

  1. To define a custom field, you first need to add a definition using the API.
  2. Use the Custom Fields Values API to set values on your defined custom fields. Specify the entityId for your query. Depending on which domain type you are interested in, this can be an assetId, accountId, groupId, siteId, customerId or rentalContractId.

Changing custom field definitions

When changing custom field definitions, you need to follow the following general rules and type-specific rules:

General rules

  • You cannot change a Custom Field Definition type after creation (e.g., changing a string field to a number field).
  • The Definition key (if specified) must be unique (within your account).

Type rules

Each field type has special rules:

  • Drop-down:

    • If an option is removed from a drop-down list, you must provide a valid replacement value.
    • Any existing value that contains the deleted value will be changed to the replacement value.
    • If the replacement value is already selected, a duplicate value will not be created.
    • When changing a multi-select field to a single-select field, any value with more than one option will be cleared.
    • The existing value will be saved for retrieval in the API in the lastIncompatibleValue field.
  • Number

    • Any existing value outside the new min/max range will be set to null.
    • The existing value will be saved for retrieval in the API in the lastIncompatibleValue field.
  • String

    • If an existing value is longer than the new maximum length, the value will be truncated.

    • The existing value will be saved for retrieval in the API in the lastIncompatibleValue field.

    • Regex patterns can be changed, but be warned that existing data can become uncompliant with the new pattern.