GET api/Inventory

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of 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
  },
  {
    "SKU": "sample string 1",
    "StockLevel": 2,
    "NextAvailDate": "sample string 3",
    "NextAvailQty": 4,
    "IsDisabled": true
  }
]

application/xml, text/xml

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