GET api/GetPopularProducts
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of InventoryItemName | Description | Type | Additional information |
---|---|---|---|
ProductSKU | string |
None. |
|
Description | string |
None. |
|
ProductImageUrl | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ProductSKU": "sample string 1", "Description": "sample string 2", "ProductImageUrl": "sample string 3" }, { "ProductSKU": "sample string 1", "Description": "sample string 2", "ProductImageUrl": "sample string 3" } ]
application/xml, text/xml
Sample:
<ArrayOfInventoryItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InventoryAPI.Models"> <InventoryItem> <Description>sample string 2</Description> <ProductImageUrl>sample string 3</ProductImageUrl> <ProductSKU>sample string 1</ProductSKU> </InventoryItem> <InventoryItem> <Description>sample string 2</Description> <ProductImageUrl>sample string 3</ProductImageUrl> <ProductSKU>sample string 1</ProductSKU> </InventoryItem> </ArrayOfInventoryItem>