How to Create a Parent Child Relation between Glossary Terms in Purview using rest api

Bina Trivedi 6 Reputation points

I want to Create a Parent Child Relation Between Glossary terms in purview using rest Post APi,
I tried the following API:

but could not create Parent Child Relations between Glossary Terms.

Please Let me know which rest API is useful for creating parent-child relations within glossary terms in purview.

Microsoft Purview
Microsoft Purview
A Microsoft data governance service that helps manage and govern on-premises, multicloud, and software-as-a-service data. Previously known as Azure Purview.
1,056 questions
{count} vote

1 answer

Sort by: Most helpful
  1. KranthiPakala-MSFT 46,442 Reputation points Microsoft Employee

    Hello @Bina Trivedi ,

    Could you please try to create the relationship using this REST API - Glossary - Create Glossary Term

    The child glossary term must have the following:

    1. qualifiedName must be parentFormalName_childFormalName@Taiwan Glossary
    2. a field "parentTerm" must consist of {"termGuid": parentGuid}
    3. a field "nickName" may be set which is the same as the name field.

    For example I have a parent of "Accounting@Taiwan Glossary " and I want to add a child of "General Ledger".

    1. qualifiedName would be Accounting_General Ledger@Taiwan Glossary
    2. parentTerm would be {"termGuid": "guidOfAccounting@Taiwan Glossary "}
    3. nickName would be "General Ledger"

    Hope this info helps. Do let us know how it goes.

    Thank you

    1 person found this answer helpful.