GET api/categoryHierarchy/{id}

Get a category node by id

Request Information

Parameters

NameDescriptionAdditional information
id
No documentation available.

Define this parameter in the request URI.

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>