Table of Contents

Search

  1. Preface
  2. Introducing Reference 360
  3. Getting started with Reference 360
  4. Manage system reference data
  5. Manage reference data sets
  6. Manage code lists
  7. Manage code values
  8. Manage crosswalks
  9. Import data
  10. Manage hierarchies
  11. Manage attributes
  12. Manage workflows
  13. Manage jobs
  14. Reference 360 REST API
  15. Glossary

Reference 360

Reference 360

Step 2. List hierarchy model relationships

Step 2. List hierarchy model relationships

You can retrieve the top-level code list and the relationships between code lists in a hierarchy model. Then, based on the hierarchy model, you can import hierarchy relationships between code values in the code lists.
  1. To retrieve the relationships in a hierarchy model, use the List hierarchy model relationships REST API.
    For more information about the List hierarchy model relationships REST API, see Get hierarchy model relationships.
    For example, the following request retrieves the relationships in a hierarchy model:
    GET https://use4-mdm.dm-us.informaticacloud.com/rdm-service/external/v1/hierarchies/6e7dd28fc13b417c5c19d1fb/relations HTTP/1.1 Accept: application/json IDS-SESSION-ID: XXXXXXXXXXXXXXXXXXXXXX
    For example, the List hierarchy model relationship REST API returns the following relationships:
    HTTP/1.1 200 OK Content-Type: application/json;charset=UTF-8 Content-Length: 452 { "relations":[ { "child":{ "codeListId":"8bc955e614df2040968e9d85", "codeListName":"Parent Codelist", "termId":"28a1320fe7f63cd25b58bef4", "termName":"Reference Data Set" } }, { "parent":{ "codeListId":"8bc955e614df2040968e9d85", "codeListName":"Parent Codelist", "termId":"28a1320fe7f63cd25b58bef4", "termName":"Reference Data Set" }, "child":{ "codeListId":"81a714a66863f954a9b60045", "codeListName":"First Level Codelist", "termId":"28a1320fe7f63cd25b58bef4", "termName":"Reference Data Set" } } ] }
    The
    child.codeListId
    attribute contains the top-level node relationship. For example, the first relationship in the example is the top-level node relationship.

Back to Top

0 COMMENTS

We’d like to hear from you!