GET api/categoryHierarchy

Get the root category node

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Children": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "HasChildCategories": true
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "HasChildCategories": true
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "HasChildCategories": true
    }
  ]
}

application/xml, text/xml

Sample:
<Category xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Id>1</Id>
  <Name>sample string 2</Name>
  <ChildCategories>
    <Category>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <HasChildCategories>true</HasChildCategories>
    </Category>
    <Category>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <HasChildCategories>true</HasChildCategories>
    </Category>
    <Category>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <HasChildCategories>true</HasChildCategories>
    </Category>
  </ChildCategories>
</Category>