You can create hierarchies to show hierarchical relationships between code values in multiple code lists. A hierarchy consists of two components: the hierarchy model and the hierarchy tree. In the hierarchy model, you define the top-level code list and add relationships to other code lists. Then based on the hierarchy model, you can create the hierarchy tree and define relationships between the code values in the code lists.
For example, you might create a location hierarchy. First, you define the hierarchy model. You define the Region code list as the top-level code list. Then you create a parent-child relationship from the Region code list to the Enterprise Country Codes code list. Based on this hierarchy model, in the hierarchy, you create a hierarchy relationship from the North America code value to the United States code value. You create a hierarchy relationship from the North America code value to the Canada code value.
To create and manage hierarchies, perform the following actions:
In
Reference 360
, create the hierarchy asset and define the hierarchy model. For more information, see
Creating hierarchy models.
Use the List hierarchies REST API to retrieve all hierarchies.
Use the List hierarchy model relationships REST API to retrieve the relationships in a hierarchy model.
Use the Import hierarchy relationships REST API to import relationships in a hierarchy tree.