bw_get_hierarchy
Read hierarchies of a characteristic: list all with versions and levels, or retrieve the full tree with node types, names, and IDs to filter data or prepare updates.
Instructions
Read the hierarchies of a characteristic. Without hierarchy_name: the hierarchies the characteristic has, with version, validity, levels and node count. With hierarchy_name: the tree — every node with its type (text node or characteristic value), name, text and node id, indented by level. Use it to find the node to filter on in bw_query_data, and to read a tree before changing it with bw_update_hierarchy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | "text" (default) or "raw" for the JSON of the API. | |
| version | No | A = active (default where it exists), M = revised version. | |
| characteristic | Yes | Characteristic the hierarchies belong to (e.g. "CHARACTERISTIC"). | |
| hierarchy_name | No | Hierarchy to read. Omit to list the hierarchies of the characteristic. |