GET api/Hierarchy/GetHierarchyList?email={email}

Returns a Hierarchy List by Email

Request Information

URI Parameters

NameDescriptionTypeAdditional information
email

email of the user.

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of HierarchyDto
NameDescriptionTypeAdditional 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": "96c52569-0f13-4f30-9ca8-e1b0ec6b1d93",
    "type": "sample string 2",
    "name": "sample string 3",
    "parentId": "df612efe-7a3f-4487-a7c6-72f13bdd3320",
    "detail": {
      "sample string 1": {},
      "sample string 3": {}
    },
    "id": "eb34ab32-b3ae-4f9f-86cd-36796b719660"
  },
  {
    "hierarchyId": "96c52569-0f13-4f30-9ca8-e1b0ec6b1d93",
    "type": "sample string 2",
    "name": "sample string 3",
    "parentId": "df612efe-7a3f-4487-a7c6-72f13bdd3320",
    "detail": {
      "sample string 1": {},
      "sample string 3": {}
    },
    "id": "eb34ab32-b3ae-4f9f-86cd-36796b719660"
  }
]

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>96c52569-0f13-4f30-9ca8-e1b0ec6b1d93</HierarchyId>
    <Id>eb34ab32-b3ae-4f9f-86cd-36796b719660</Id>
    <Name>sample string 3</Name>
    <ParentId>df612efe-7a3f-4487-a7c6-72f13bdd3320</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>96c52569-0f13-4f30-9ca8-e1b0ec6b1d93</HierarchyId>
    <Id>eb34ab32-b3ae-4f9f-86cd-36796b719660</Id>
    <Name>sample string 3</Name>
    <ParentId>df612efe-7a3f-4487-a7c6-72f13bdd3320</ParentId>
    <Type>sample string 2</Type>
  </HierarchyDto>
</ArrayOfHierarchyDto>