POST api/ERPDataUpdate/AddWarehouseStock

Request Information

URI Parameters

None.

Body Parameters

WarehouseStock
NameDescriptionTypeAdditional information
StockLevel

Collection of WarehouseStockList

None.

IsInvalid

boolean

None.

BusinessCode

string

None.

BusinessType

string

None.

WarehouseCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "StockLevel": [
    {
      "SKUCode": "sample string 1",
      "StockQty": 2,
      "IsInvalid": false
    },
    {
      "SKUCode": "sample string 1",
      "StockQty": 2,
      "IsInvalid": false
    }
  ],
  "IsInvalid": false,
  "BusinessCode": "sample string 1",
  "BusinessType": "sample string 2",
  "WarehouseCode": "sample string 3"
}

application/xml, text/xml

Sample:
<WarehouseStock xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model.Orion">
  <BusinessCode>sample string 1</BusinessCode>
  <BusinessType>sample string 2</BusinessType>
  <WarehouseCode>sample string 3</WarehouseCode>
  <StockLevel>
    <WarehouseStockList>
      <SKUCode>sample string 1</SKUCode>
      <StockQty>2</StockQty>
    </WarehouseStockList>
    <WarehouseStockList>
      <SKUCode>sample string 1</SKUCode>
      <StockQty>2</StockQty>
    </WarehouseStockList>
  </StockLevel>
</WarehouseStock>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.