POST api/Inventory

Request Information

URI Parameters

None.

Body Parameters

Collection of ItemsToCheck
NameDescriptionTypeAdditional information
SKU

string

None.

IsDisabled

boolean

None.

WebTypeID

string

None.

Weight

string

None.

Image

string

None.

ItemStatus

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "SKU": null,
    "IsDisabled": false,
    "WebTypeID": null,
    "Weight": null,
    "Image": null,
    "ItemStatus": null
  },
  {
    "SKU": null,
    "IsDisabled": false,
    "WebTypeID": null,
    "Weight": null,
    "Image": null,
    "ItemStatus": null
  }
]

application/xml, text/xml

Sample:
<ArrayOfInventoryController.ItemsToCheck xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CenturyAPI.Controllers">
  <InventoryController.ItemsToCheck>
    <Image i:nil="true" />
    <IsDisabled>false</IsDisabled>
    <ItemStatus i:nil="true" />
    <SKU i:nil="true" />
    <WebTypeID i:nil="true" />
    <Weight i:nil="true" />
  </InventoryController.ItemsToCheck>
  <InventoryController.ItemsToCheck>
    <Image i:nil="true" />
    <IsDisabled>false</IsDisabled>
    <ItemStatus i:nil="true" />
    <SKU i:nil="true" />
    <WebTypeID i:nil="true" />
    <Weight i:nil="true" />
  </InventoryController.ItemsToCheck>
</ArrayOfInventoryController.ItemsToCheck>

application/x-www-form-urlencoded

Sample:

Sample not available.

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>