GET api/WebApiOdata/GetAllRetailerProductsByCategory?providerId={providerId}&supplierIds={supplierIds}&categoryIds={categoryIds}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
providerId | integer |
Required |
|
supplierIds | string |
Required |
|
categoryIds | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ProductsDiscountGridViewModelName | Description | Type | Additional information |
---|---|---|---|
SCProductID | integer |
None. |
|
Name | string |
None. |
|
Code | string |
None. |
|
BrandName | string |
None. |
|
CategoryList | string |
None. |
|
SupplierID | integer |
None. |
|
SupplierName | string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "SCProductID": 1, "Name": "sample string 2", "Code": "sample string 3", "BrandName": "sample string 4", "CategoryList": "sample string 5", "SupplierID": 6, "SupplierName": "sample string 7" }, { "SCProductID": 1, "Name": "sample string 2", "Code": "sample string 3", "BrandName": "sample string 4", "CategoryList": "sample string 5", "SupplierID": 6, "SupplierName": "sample string 7" } ]
application/xml, text/xml
Sample:
<ArrayOfProductsDiscountGridViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Products"> <ProductsDiscountGridViewModel> <BrandName>sample string 4</BrandName> <CategoryList>sample string 5</CategoryList> <Code>sample string 3</Code> <Name>sample string 2</Name> <SCProductID>1</SCProductID> <SupplierID>6</SupplierID> <SupplierName>sample string 7</SupplierName> </ProductsDiscountGridViewModel> <ProductsDiscountGridViewModel> <BrandName>sample string 4</BrandName> <CategoryList>sample string 5</CategoryList> <Code>sample string 3</Code> <Name>sample string 2</Name> <SCProductID>1</SCProductID> <SupplierID>6</SupplierID> <SupplierName>sample string 7</SupplierName> </ProductsDiscountGridViewModel> </ArrayOfProductsDiscountGridViewModel>