GET api/Hierarchy/GetHierarchyList?email={email}
Returns a Hierarchy List by Email
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
|
email of the user. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of HierarchyDto| Name | Description | Type | Additional information |
|---|---|---|---|
| hierarchyId | globally unique identifier |
None. |
|
| type | string |
None. |
|
| name | string |
None. |
|
| parentId | globally unique identifier |
None. |
|
| detail | Dictionary of string [key] and Object [value] |
None. |
|
| id | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"hierarchyId": "52300459-5e91-42be-a400-bd3ce87ec830",
"type": "sample string 2",
"name": "sample string 3",
"parentId": "63039117-1909-4408-8a1f-28bf00ba718f",
"detail": {
"sample string 1": {},
"sample string 3": {}
},
"id": "54fdc987-9bde-474a-8f85-f4ae4dd171a4"
},
{
"hierarchyId": "52300459-5e91-42be-a400-bd3ce87ec830",
"type": "sample string 2",
"name": "sample string 3",
"parentId": "63039117-1909-4408-8a1f-28bf00ba718f",
"detail": {
"sample string 1": {},
"sample string 3": {}
},
"id": "54fdc987-9bde-474a-8f85-f4ae4dd171a4"
}
]
application/xml, text/xml
Sample:
<ArrayOfHierarchyDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KT.BGip.Visualisation.RPMI.Models.RepoDtos">
<HierarchyDto>
<Detail xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:KeyValueOfstringanyType>
<d3p1:Key>sample string 1</d3p1:Key>
<d3p1:Value />
</d3p1:KeyValueOfstringanyType>
<d3p1:KeyValueOfstringanyType>
<d3p1:Key>sample string 3</d3p1:Key>
<d3p1:Value />
</d3p1:KeyValueOfstringanyType>
</Detail>
<HierarchyId>52300459-5e91-42be-a400-bd3ce87ec830</HierarchyId>
<Id>54fdc987-9bde-474a-8f85-f4ae4dd171a4</Id>
<Name>sample string 3</Name>
<ParentId>63039117-1909-4408-8a1f-28bf00ba718f</ParentId>
<Type>sample string 2</Type>
</HierarchyDto>
<HierarchyDto>
<Detail xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:KeyValueOfstringanyType>
<d3p1:Key>sample string 1</d3p1:Key>
<d3p1:Value />
</d3p1:KeyValueOfstringanyType>
<d3p1:KeyValueOfstringanyType>
<d3p1:Key>sample string 3</d3p1:Key>
<d3p1:Value />
</d3p1:KeyValueOfstringanyType>
</Detail>
<HierarchyId>52300459-5e91-42be-a400-bd3ce87ec830</HierarchyId>
<Id>54fdc987-9bde-474a-8f85-f4ae4dd171a4</Id>
<Name>sample string 3</Name>
<ParentId>63039117-1909-4408-8a1f-28bf00ba718f</ParentId>
<Type>sample string 2</Type>
</HierarchyDto>
</ArrayOfHierarchyDto>