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": "68414bbe-241a-4277-b04f-98b8b9532bcf", "type": "sample string 2", "name": "sample string 3", "parentId": "804b682a-4137-4b80-822f-5306f7ccaf67", "detail": { "sample string 1": {}, "sample string 3": {} }, "id": "8899ae34-5999-4bf1-a9c1-c0c86e5952a1" }, { "hierarchyId": "68414bbe-241a-4277-b04f-98b8b9532bcf", "type": "sample string 2", "name": "sample string 3", "parentId": "804b682a-4137-4b80-822f-5306f7ccaf67", "detail": { "sample string 1": {}, "sample string 3": {} }, "id": "8899ae34-5999-4bf1-a9c1-c0c86e5952a1" } ]
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>68414bbe-241a-4277-b04f-98b8b9532bcf</HierarchyId> <Id>8899ae34-5999-4bf1-a9c1-c0c86e5952a1</Id> <Name>sample string 3</Name> <ParentId>804b682a-4137-4b80-822f-5306f7ccaf67</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>68414bbe-241a-4277-b04f-98b8b9532bcf</HierarchyId> <Id>8899ae34-5999-4bf1-a9c1-c0c86e5952a1</Id> <Name>sample string 3</Name> <ParentId>804b682a-4137-4b80-822f-5306f7ccaf67</ParentId> <Type>sample string 2</Type> </HierarchyDto> </ArrayOfHierarchyDto>