GET v1/Products/{id}/ProductGroups

Get all ProductGroups Assinged to the Product

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The id of the product.

integer

Required.

Body Parameters

None.

Response Information

Resource Description

The Product 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>