Update Hierarchy Level

LLM-friendly URL
POST
https://api.luzmo.com/0.1.0/hierarchyLevel

In Luzmo all columns which deal with text values are of type hierarchy. On such a hierarchy column you can build a hierarchy out of your existing data values. To do so you first need to create hierarchy levels and associate them with a column. By associating hierarchy levels with a column we essentially define how many levels there are in the tree structure and define the metadata of these levels. Afterwards you can push hierarchy updates to the column to populate the tree structure using the hierarchy service .

Updating the hierarchylevels, if you update the 'level' make sure you update the other hierarchylevels so the level numbers follow up nicely.

Parameters
Expand all Reset
id *UUIDrequired

The unique identifier of the entity

properties *OBJECTrequired
level NUMBER
name Multilingual string
color STRING
Can be executed by:
Entity Modifier
Can be associated to:
Column
Did this page help you?
Yes No
Language
Shell
Node
Java
.NET
Python
PHP
Install
npm install @luzmo/nodejs-sdk
Example Response
200
400
500
{
  "id": "c25b2053-a44e-4748-8310-1a797f6d16ed",
  "level": 0,
  "name": {
    "nl": "Alle",
    "fr": "Tout",
    "en": "All"
  },
  "cardinality": 1,
  "created_at": "2018-08-30T08:05:38.381Z",
  "updated_at": "2018-08-30T08:05:38.381Z",
  "column_id": "c442c981-7bdf-4a53-929b-d39bf6256f8f",
  "color": null
}