Purview API not returning Assigned Entities

Angela Vilar 0 Reputation points
2023-08-22T11:11:39.25+00:00

Hello,

I'm using Azure.Analytics.Purview.Catalog NuGet package (https://www.nuget.org/packages/Azure.Analytics.Purview.Catalog/) to get data from Purview. Until now, when I wanted to get related entities of an entity I looked into RelationshipAttributes.AssignedEntities property. But now it is always empty. I checked with business terms, PowerBI Datasets and PowerBi Reports.

I also tried using the API endpoint catalog/api/atlas/v2/entity/bulk?guid={guid}&ignoreRelationships=false with the same result.

Has this API been modified? Do I have to search for this info in any other property or endpoint?

Thanks in advance.

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,518 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Angela Vilar 0 Reputation points
    2023-08-23T11:16:15.6+00:00

    This is the endpoint I'm using:

    {{baseUrl}}/catalog/api/atlas/v2/entity/bulk?guid=""&minExtInfo=false&ignoreRelationships=false

    And this is the response:

    {
        "referredEntities": {},
        "entities": [
            {
                "typeName": "AtlasGlossaryTerm",
                "attributes": {
                    "longDescription": "Sales including product sales and non product sales",
                    "examples": null,
                    "qualifiedName": "",
                    "nickName": "Net Sales",
                    "usage": null,
                    "name": "",
                    "resources": null,
                    "attributes": {
                        "Business Term": {
                         
                        }
                    },
                    "shortDescription": null,
                    "abbreviation": "NS",
                    "status": "Approved",
                    "additionalAttributes": null
                },
                "lastModifiedTS": "2",
                "guid": "2cc171b9-ae68-492b-bc38-7d396a0bbade",
                "isIncomplete": false,
                "provenanceType": 0,
                "status": "ACTIVE",
                "createdBy": "bcbcf16d-2c74-4694-ac71-0a8b19ff9923",
                "updatedBy": "bcbcf16d-2c74-4694-ac71-0a8b19ff9923",
                "createTime": 1691475321902,
                "updateTime": 1691475589426,
                "version": 0,
                "isIndexed": true,
                "contacts": {},
                "hierarchyInfo": [
                    {
                        "guid": "81ce0f0d-d7b2-4f75-a591-1bbead3fc9b4",
                        "typeName": "AtlasGlossaryTerm",
                        "properties": {
                            "nickName": ""
                        }
                    },
                    {
                        "guid": "8c9e3757-b6d3-403b-bb89-552502e538b7",
                        "typeName": "AtlasGlossaryTerm",
                        "properties": {
                            "nickName": ""
                        }
                    },
                    {
                        "guid": "2cc171b9-ae68-492b-bc38-7d396a0bbade",
                        "typeName": "",
                        "properties": {
                            "nickName": "Net Sales"
                        }
                    }
                ],
                "relationshipAttributes": {
                    "validValuesFor": [],
                    "translationTerms": [],
                    "synonyms": [],
                    "replacedBy": [],
                    "validValues": [],
                    "replacementTerms": [],
                    "seeAlso": [],
                    "childrenTerms": [],
                    "translatedTerms": [],
                    "isA": [],
                    "antonyms": [],
                    "assignedEntities": [],
                    "classifies": [],
                    "categories": [],
                    "preferredToTerms": [],
                    "preferredTerms": []
                },
                "labels": [],
                "displayText": "08_Internal_Sales_08_00_Internal_Sales_General_Net Sales",
                "proxy": false
            }
        ]
    }
    
    
    

    As you can see, RelationshipAttributes is empty. I used to find in AssignedEntities property all the related entities.

    Thank you.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.