GET api/Inventory/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None.

Response Information

Resource Description

InvItem
NameDescriptionTypeAdditional information
SKU

string

None.

StockLevel

integer

None.

NextAvailDate

string

None.

NextAvailQty

integer

None.

IsDisabled

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "SKU": "sample string 1",
  "StockLevel": 2,
  "NextAvailDate": "sample string 3",
  "NextAvailQty": 4,
  "IsDisabled": true
}

application/xml, text/xml

Sample:
<InvItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CenturyAPI">
  <IsDisabled>true</IsDisabled>
  <NextAvailDate>sample string 3</NextAvailDate>
  <NextAvailQty>4</NextAvailQty>
  <SKU>sample string 1</SKU>
  <StockLevel>2</StockLevel>
</InvItem>