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": "613d836c-f9f4-40d5-ab39-54497532258b", "type": "sample string 2", "name": "sample string 3", "parentId": "5b7bbc6c-49c4-429a-8283-7c051d7a4bb7", "detail": { "sample string 1": {}, "sample string 3": {} }, "id": "262bcc9c-5971-470e-b3f0-20b0ffdfc78a" }, { "hierarchyId": "613d836c-f9f4-40d5-ab39-54497532258b", "type": "sample string 2", "name": "sample string 3", "parentId": "5b7bbc6c-49c4-429a-8283-7c051d7a4bb7", "detail": { "sample string 1": {}, "sample string 3": {} }, "id": "262bcc9c-5971-470e-b3f0-20b0ffdfc78a" } ]
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>613d836c-f9f4-40d5-ab39-54497532258b</HierarchyId> <Id>262bcc9c-5971-470e-b3f0-20b0ffdfc78a</Id> <Name>sample string 3</Name> <ParentId>5b7bbc6c-49c4-429a-8283-7c051d7a4bb7</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>613d836c-f9f4-40d5-ab39-54497532258b</HierarchyId> <Id>262bcc9c-5971-470e-b3f0-20b0ffdfc78a</Id> <Name>sample string 3</Name> <ParentId>5b7bbc6c-49c4-429a-8283-7c051d7a4bb7</ParentId> <Type>sample string 2</Type> </HierarchyDto> </ArrayOfHierarchyDto>