GET v1/ProductGroups/{productGroupId}/Childs

Get a list with all Childs Product groups, for given Product Group.

Request Information

Requires Authorization!

URI Parameters

NameDescriptionTypeAdditional information
productGroupId

The id of the product group.

integer

Required.

Body Parameters

None.

Response Information

Resource Description

A list of the ProductGroupBasicInfo object.


Collection of ProductGroupBasicInfo
NameDescriptionTypeAdditional information
Id

Gets or sets the identifier.

integer

Required

Name

Gets or sets the name.

string

Max length: 100

ParentProductGroupId

Gets or sets the parent product group identifier.

integer

None.

NrOfChilds

The number of child Product Groups.

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "ParentProductGroupId": 1,
    "NrOfChilds": 3
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "ParentProductGroupId": 1,
    "NrOfChilds": 3
  }
]

application/xml, text/xml

Sample:
<ArrayOfProductGroupBasicInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ProductGroupBasicInfo>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <ParentProductGroupId>1</ParentProductGroupId>
    <NrOfChilds>3</NrOfChilds>
  </ProductGroupBasicInfo>
  <ProductGroupBasicInfo>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <ParentProductGroupId>1</ParentProductGroupId>
    <NrOfChilds>3</NrOfChilds>
  </ProductGroupBasicInfo>
</ArrayOfProductGroupBasicInfo>