GET api/Stock/{stockCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
stockCode

string

Required

Body Parameters

None.

Response Information

Resource Description

StockLevel
NameDescriptionTypeAdditional 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>