GET product/groups?masterId={masterId}&type={type}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| masterId | globally unique identifier |
Required |
|
| type | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ProductGroup| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
None. |
|
| name | string |
None. |
|
| order | integer |
None. |
|
| type | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": "bd7ceeed-db23-4148-96d6-96c3d83ab6c8",
"name": "sample string 1",
"order": 2,
"type": 3
},
{
"id": "bd7ceeed-db23-4148-96d6-96c3d83ab6c8",
"name": "sample string 1",
"order": 2,
"type": 3
}
]
application/xml, text/xml
Sample:
<ArrayOfProductGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Careby.Api.Models">
<ProductGroup>
<id>bd7ceeed-db23-4148-96d6-96c3d83ab6c8</id>
<name>sample string 1</name>
<order>2</order>
<type>3</type>
</ProductGroup>
<ProductGroup>
<id>bd7ceeed-db23-4148-96d6-96c3d83ab6c8</id>
<name>sample string 1</name>
<order>2</order>
<type>3</type>
</ProductGroup>
</ArrayOfProductGroup>