GET api/WebApiOdata/GetAllSupplierPublishedProducts?providerId={providerId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
providerId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ProductOdataViewModelName | Description | Type | Additional information |
---|---|---|---|
ProductID | integer |
None. |
|
SCProductID | integer |
None. |
|
Name | string |
None. |
|
Image | string |
None. |
|
Code | string |
None. |
|
BrandName | string |
None. |
|
MSRP | decimal number |
None. |
|
MAP | decimal number |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "ProductID": 1, "SCProductID": 2, "Name": "sample string 3", "Image": "sample string 4", "Code": "sample string 5", "BrandName": "sample string 6", "MSRP": 7.1, "MAP": 8.1 }, { "ProductID": 1, "SCProductID": 2, "Name": "sample string 3", "Image": "sample string 4", "Code": "sample string 5", "BrandName": "sample string 6", "MSRP": 7.1, "MAP": 8.1 } ]
application/xml, text/xml
Sample:
<ArrayOfProductOdataViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Products"> <ProductOdataViewModel> <BrandName>sample string 6</BrandName> <Code>sample string 5</Code> <Image>sample string 4</Image> <MAP>8.1</MAP> <MSRP>7.1</MSRP> <Name>sample string 3</Name> <ProductID>1</ProductID> <SCProductID>2</SCProductID> </ProductOdataViewModel> <ProductOdataViewModel> <BrandName>sample string 6</BrandName> <Code>sample string 5</Code> <Image>sample string 4</Image> <MAP>8.1</MAP> <MSRP>7.1</MSRP> <Name>sample string 3</Name> <ProductID>1</ProductID> <SCProductID>2</SCProductID> </ProductOdataViewModel> </ArrayOfProductOdataViewModel>