Get the root of a hierarchy
Get the root of the hierarchy for the given dimension name
get/hierarchies/{instance_id}/{dimension_name}
Response
The hierarchy root was found and returned
Example response
{
"children": [
{
"has_data": "yes",
"label": "Transport",
"links": {
"self": {
"href": "http://hierarchy-api/hierarchies/{instance_id}/Special_Aggregat/123"
},
"code": {
"href": "http://codelist-api/code-lists/{code-list-id}/codes/01",
"id": 987
}
},
"no_of_children": 3
}
],
"links": {
"code": {
"href": "http://codelist/code-lists/clist1/codes/xyz987",
"id": "xyz987"
},
"self": {
"href": "http://hierarchy-api/hierarchies/instance_id1/dimension1"
}
}
}