GET api/Product/ProductsForGroup?GroupID={GroupID}&SupplierID={SupplierID}
Products for group by supplier.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| GroupID |
The group identifier. |
integer |
Required |
| SupplierID |
The supplier identifier. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Product| Name | Description | Type | Additional information |
|---|---|---|---|
| ID |
Product System ID |
integer |
None. |
| SupplierID |
Supplier ID. |
integer |
None. |
| Supplier |
Supplier. |
string |
None. |
| Name |
Product name |
string |
None. |
| WebFriendlyName |
Web friendly name. |
string |
None. |
| FileID |
File System ID. |
string |
None. |
| Filename |
The filename. |
string |
None. |
| FileUrl |
File URL. |
string |
None. |
| MinWidth |
Minimum width. |
integer |
None. |
| MaxWidth |
Maximum width. |
integer |
None. |
| MinHeight |
Minimum height. |
integer |
None. |
| MaxHeight |
Maximum height. |
integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ID": 1,
"SupplierID": 2,
"Supplier": "sample string 3",
"Name": "sample string 4",
"WebFriendlyName": "sample string 5",
"FileID": "sample string 6",
"Filename": "sample string 7",
"FileUrl": "sample string 8",
"MinWidth": 1,
"MaxWidth": 1,
"MinHeight": 1,
"MaxHeight": 1
},
{
"ID": 1,
"SupplierID": 2,
"Supplier": "sample string 3",
"Name": "sample string 4",
"WebFriendlyName": "sample string 5",
"FileID": "sample string 6",
"Filename": "sample string 7",
"FileUrl": "sample string 8",
"MinWidth": 1,
"MaxWidth": 1,
"MinHeight": 1,
"MaxHeight": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfProduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DecorDepot.API.Models">
<Product>
<FileID>sample string 6</FileID>
<FileUrl>sample string 8</FileUrl>
<Filename>sample string 7</Filename>
<ID>1</ID>
<MaxHeight>1</MaxHeight>
<MaxWidth>1</MaxWidth>
<MinHeight>1</MinHeight>
<MinWidth>1</MinWidth>
<Name>sample string 4</Name>
<Supplier>sample string 3</Supplier>
<SupplierID>2</SupplierID>
<WebFriendlyName>sample string 5</WebFriendlyName>
</Product>
<Product>
<FileID>sample string 6</FileID>
<FileUrl>sample string 8</FileUrl>
<Filename>sample string 7</Filename>
<ID>1</ID>
<MaxHeight>1</MaxHeight>
<MaxWidth>1</MaxWidth>
<MinHeight>1</MinHeight>
<MinWidth>1</MinWidth>
<Name>sample string 4</Name>
<Supplier>sample string 3</Supplier>
<SupplierID>2</SupplierID>
<WebFriendlyName>sample string 5</WebFriendlyName>
</Product>
</ArrayOfProduct>