GET api/WebApiOdata/GetCategoryProducts?providerId={providerId}&supplierID={supplierID}&sccategoryID={sccategoryID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
providerId | integer |
Required |
|
supplierID | integer |
Required |
|
sccategoryID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ProductGridViewModelName | Description | Type | Additional information |
---|---|---|---|
SCProductID | integer |
None. |
|
ProductID | integer |
None. |
|
Name | string |
None. |
|
Code | string |
None. |
|
MSRP | decimal number |
None. |
|
MAP | decimal number |
None. |
|
BrandName | string |
None. |
|
SupplierName | string |
None. |
|
SmallImage | string |
None. |
|
Subscribed | byte |
None. |
|
Status | boolean |
None. |
|
ProductPriceType | integer |
None. |
|
ProductPriceValue | decimal number |
None. |
|
SupplierID | integer |
None. |
|
SellingPrice | decimal number |
None. |
|
SCCategoryID | integer |
None. |
|
LockTypeID | byte |
None. |
|
OriginalProviderID | integer |
None. |
|
ProductQuantity | integer |
None. |
|
DisplayMSRP | string |
None. |
|
DisplayMAP | string |
None. |
|
DisplaySellingPrice | string |
None. |
|
ProductURLName | string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "SCProductID": 1, "ProductID": 2, "Name": "sample string 3", "Code": "sample string 4", "MSRP": 5.1, "MAP": 6.1, "BrandName": "sample string 7", "SupplierName": "sample string 8", "SmallImage": "sample string 9", "Subscribed": 64, "Status": true, "ProductPriceType": 1, "ProductPriceValue": 1.1, "SupplierID": 12, "SellingPrice": 13.1, "SCCategoryID": 14, "LockTypeID": 64, "OriginalProviderID": 1, "ProductQuantity": 1, "DisplayMSRP": "$5.10", "DisplayMAP": "$6.10", "DisplaySellingPrice": "$13.10", "ProductURLName": "sample-string-3" }, { "SCProductID": 1, "ProductID": 2, "Name": "sample string 3", "Code": "sample string 4", "MSRP": 5.1, "MAP": 6.1, "BrandName": "sample string 7", "SupplierName": "sample string 8", "SmallImage": "sample string 9", "Subscribed": 64, "Status": true, "ProductPriceType": 1, "ProductPriceValue": 1.1, "SupplierID": 12, "SellingPrice": 13.1, "SCCategoryID": 14, "LockTypeID": 64, "OriginalProviderID": 1, "ProductQuantity": 1, "DisplayMSRP": "$5.10", "DisplayMAP": "$6.10", "DisplaySellingPrice": "$13.10", "ProductURLName": "sample-string-3" } ]
application/xml, text/xml
Sample:
<ArrayOfProductGridViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Products"> <ProductGridViewModel> <BrandName>sample string 7</BrandName> <Code>sample string 4</Code> <LockTypeID>64</LockTypeID> <MAP>6.1</MAP> <MSRP>5.1</MSRP> <Name>sample string 3</Name> <OriginalProviderID>1</OriginalProviderID> <ProductID>2</ProductID> <ProductPriceType>1</ProductPriceType> <ProductPriceValue>1.1</ProductPriceValue> <ProductQuantity>1</ProductQuantity> <SCCategoryID>14</SCCategoryID> <SCProductID>1</SCProductID> <SellingPrice>13.1</SellingPrice> <SmallImage>sample string 9</SmallImage> <Status>true</Status> <Subscribed>64</Subscribed> <SupplierID>12</SupplierID> <SupplierName>sample string 8</SupplierName> </ProductGridViewModel> <ProductGridViewModel> <BrandName>sample string 7</BrandName> <Code>sample string 4</Code> <LockTypeID>64</LockTypeID> <MAP>6.1</MAP> <MSRP>5.1</MSRP> <Name>sample string 3</Name> <OriginalProviderID>1</OriginalProviderID> <ProductID>2</ProductID> <ProductPriceType>1</ProductPriceType> <ProductPriceValue>1.1</ProductPriceValue> <ProductQuantity>1</ProductQuantity> <SCCategoryID>14</SCCategoryID> <SCProductID>1</SCProductID> <SellingPrice>13.1</SellingPrice> <SmallImage>sample string 9</SmallImage> <Status>true</Status> <Subscribed>64</Subscribed> <SupplierID>12</SupplierID> <SupplierName>sample string 8</SupplierName> </ProductGridViewModel> </ArrayOfProductGridViewModel>