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 HierarchyDtoName | 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": "076083f8-3fd8-4e37-bd74-cabec4306648", "type": "sample string 2", "name": "sample string 3", "parentId": "241159a6-307e-422f-859a-e6f5b75f7f0c", "detail": { "sample string 1": {}, "sample string 3": {} }, "id": "8b8fa907-9db4-4eb2-8522-775a84c6d7e9" }, { "hierarchyId": "076083f8-3fd8-4e37-bd74-cabec4306648", "type": "sample string 2", "name": "sample string 3", "parentId": "241159a6-307e-422f-859a-e6f5b75f7f0c", "detail": { "sample string 1": {}, "sample string 3": {} }, "id": "8b8fa907-9db4-4eb2-8522-775a84c6d7e9" } ]
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>076083f8-3fd8-4e37-bd74-cabec4306648</HierarchyId> <Id>8b8fa907-9db4-4eb2-8522-775a84c6d7e9</Id> <Name>sample string 3</Name> <ParentId>241159a6-307e-422f-859a-e6f5b75f7f0c</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>076083f8-3fd8-4e37-bd74-cabec4306648</HierarchyId> <Id>8b8fa907-9db4-4eb2-8522-775a84c6d7e9</Id> <Name>sample string 3</Name> <ParentId>241159a6-307e-422f-859a-e6f5b75f7f0c</ParentId> <Type>sample string 2</Type> </HierarchyDto> </ArrayOfHierarchyDto>