GET api/Stock/{stockCode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| stockCode | string |
Required |
Body Parameters
None.
Response Information
Resource Description
StockLevel| Name | Description | Type | Additional information |
|---|---|---|---|
| QtyInStock | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"QtyInStock": 1
}
text/html
Sample:
{"QtyInStock":1}
application/xml, text/xml
Sample:
<StockLevel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bullseye_API.Controllers"> <QtyInStock>1</QtyInStock> </StockLevel>