GET api/Product/GetAllGroupProducts?providerId={providerId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
providerId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ItemGridViewModelName | Description | Type | Additional information |
---|---|---|---|
SCProductID | integer |
None. |
|
SCCategoryID | integer |
None. |
|
Name | string |
None. |
|
DecodedName | string |
None. |
|
GroupName | string |
None. |
|
PreferredGroupID | integer |
None. |
|
Code | string |
None. |
|
BrandName | string |
None. |
|
SupplierName | string |
None. |
|
SupplierID | integer |
None. |
|
OriginalProviderID | integer |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "SCProductID": 1, "SCCategoryID": 2, "Name": "sample string 3", "DecodedName": "sample string 3", "GroupName": "sample string 4", "PreferredGroupID": 5, "Code": "sample string 6", "BrandName": "sample string 7", "SupplierName": "sample string 8", "SupplierID": 9, "OriginalProviderID": 1 }, { "SCProductID": 1, "SCCategoryID": 2, "Name": "sample string 3", "DecodedName": "sample string 3", "GroupName": "sample string 4", "PreferredGroupID": 5, "Code": "sample string 6", "BrandName": "sample string 7", "SupplierName": "sample string 8", "SupplierID": 9, "OriginalProviderID": 1 } ]
application/xml, text/xml
Sample:
<ArrayOfItemGridViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Products"> <ItemGridViewModel> <BrandName>sample string 7</BrandName> <Code>sample string 6</Code> <GroupName>sample string 4</GroupName> <Name>sample string 3</Name> <OriginalProviderID>1</OriginalProviderID> <PreferredGroupID>5</PreferredGroupID> <SCCategoryID>2</SCCategoryID> <SCProductID>1</SCProductID> <SupplierID>9</SupplierID> <SupplierName>sample string 8</SupplierName> </ItemGridViewModel> <ItemGridViewModel> <BrandName>sample string 7</BrandName> <Code>sample string 6</Code> <GroupName>sample string 4</GroupName> <Name>sample string 3</Name> <OriginalProviderID>1</OriginalProviderID> <PreferredGroupID>5</PreferredGroupID> <SCCategoryID>2</SCCategoryID> <SCProductID>1</SCProductID> <SupplierID>9</SupplierID> <SupplierName>sample string 8</SupplierName> </ItemGridViewModel> </ArrayOfItemGridViewModel>