Reltio Connect

 View Only
  • 1.  Hierarchy depth for entities

    Posted 08-11-2021 02:35
    Hi again!

    Right now when im doing a hierarchy search for an entity, i get the depth of level 2. Is it anyway to go deeper?

    Im using this url:

    {{URL}}reltio/api/{{tenantID}}/entities/{id}/_tree?graphTypeURIs=configuration%2FgraphTypes%2F{entityName}&options=reverseRelations,ovOnly


  • 2.  RE: Hierarchy depth for entities

    Reltio Employee
    Posted 08-13-2021 16:39
    @Minh Bui, I haven't forgotten about you. I will try to get an answer to you ASAP!​


  • 3.  RE: Hierarchy depth for entities

    Reltio Employee
    Posted 08-17-2021 12:35
    Hi Minh ,
    Can you please provide one example of data set on which you are executing this hierarchy search? It would help us to answer if we can understand the context in little bit more detail.


  • 4.  RE: Hierarchy depth for entities

    Posted 08-20-2021 05:56
    This entity has one children and the children of this entity has another children. So the depth level is 2. We cant get the children to  the last entity and we cant go deeper than 2 levels.

    {
        "successful": true,
        "root": {
            "entity": {
                "uri": "entities/1CFkxy",
                "type": "configuration/entityTypes/MaterialGroup",
                "label": "Material Hierarchy",
                "secondaryLabel": "",
                "attributes": {
                    "Name": [
                        {
                            "type": "configuration/entityTypes/MaterialGroup/attributes/Name",
                            "ov": true,
                            "value": "Material Hierarchy",
                            "uri": "entities/1CFkxy/attributes/Name/35bGeG9yQ"
                        }
                    ]
                }
            },
            "children": [
                {
                    "entity": {
                        "uri": "entities/17CWHt",
                        "type": "configuration/entityTypes/MaterialGroup",
                        "label": "Natural Gas/LNG",
                        "secondaryLabel": "",
                        "attributes": {
                            "Name": [
                                {
                                    "type": "configuration/entityTypes/MaterialGroup/attributes/Name",
                                    "ov": true,
                                    "value": "Natural Gas/LNG ",
                                    "uri": "entities/17CWHt/attributes/Name/35bGeV4sQ"
                                }
                            ]
                        }
                    },
                    "relation": {
                        "uri": "relations/joTYKUX",
                        "type": "configuration/relationTypes/MaterialGroup_MaterialGroup",
                        "direction": "directed"
                    },
                    "children": [
                        {
                            "entity": {
                                "uri": "entities/17CWH3ws",
                                "type": "configuration/entityTypes/MaterialGroup",
                                "label": "LNG",
                                "secondaryLabel": "",
                                "attributes": {
                                    "Name": [
                                        {
                                            "type": "configuration/entityTypes/MaterialGroup/attributes/Name",
                                            "ov": true,
                                            "value": "LNG",
                                            "uri": "entities/17CWH3ws/attributes/Name/35bGePIqk"
                                        }
                                    ]
                                }
                            },
                            "relation": {
                                "uri": "relations/giLUWVX",
                                "type": "configuration/relationTypes/MaterialGroup_MaterialGroup",
                                "direction": "directed"
                            },
                            "total": 0,
                            "parent": "entities/17CWHt5y"
                        },
                        {
                            "entity": {
                                "uri": "entities/17CWHopi",
                                "type": "configuration/entityTypes/MaterialGroup",
                                "label": "Natural Gas",
                                "secondaryLabel": "",
                                "attributes": {
                                    "Name": [
                                        {
                                            "type": "configuration/entityTypes/MaterialGroup/attributes/Name",
                                            "ov": true,
                                            "value": "Natural Gas",
                                            "uri": "entities/17CWHopi/attributes/Name/35bGeUb2c"
                                        }
                                    ]
                                }
                            },
                            "relation": {
                                "uri": "relations/giLVHON",
                                "type": "configuration/relationTypes/MaterialGroup_MaterialGroup",
                                "direction": "directed"
                            },
                            "total": 0,
                            "parent": "entities/17CWHt5y"
                        }
                    ],
                    "total": 2,
                    "parent": "entities/17CWFkxy"
              }
            ],
            "total": 1
        }
    }


  • 5.  RE: Hierarchy depth for entities

    Reltio Employee
    Posted 08-22-2021 01:46
    Thanks, Minh for the example. It was helpful to understand the requirement better. 

    Can you try the API without options=reverseRelations, OV part in the URL? This should return the hierarchy nodes (entities) that are from levels deeper than 2.


  • 6.  RE: Hierarchy depth for entities

    Posted 08-25-2021 09:53
    When trying without options=reverseRelations and OV, we get the hierarchy with only the first entity from the picture below. All the other 
    entities to this hierarchy is not in the response, only listed in this table.

     "parent": [
                                "entities/17CWHt5y",
                                "entities/17CWJshS",
                                "entities/17CWFcRS",
                                "entities/17CWFH8A",
                                "entities/17CWFghi",
                                "entities/17CWGrA6",
                                "entities/17CWEvos",
                                "entities/17CWIIfW",
                                "entities/17CWE6fm",
                                "entities/17CWJKbO"
                            ]


  • 7.  RE: Hierarchy depth for entities

    Reltio Employee
    Posted 08-25-2021 23:48
    Hi Minh,

    I would suggest opening a ticket with Reltio support so that we can troubleshoot this further.