POST jxc_api/DDL/ProdStockSummary

Request Information

URI Parameters

None.

Body Parameters

ProdStockSummaryConfig
NameDescriptionTypeAdditional information
prodId

integer

None.

whId

integer

None.

apId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "prodId": 1,
  "whId": 2,
  "apId": 3
}

application/xml, text/xml

Sample:
<ProdStockSummaryConfig xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Framework.Controllers">
  <apId>3</apId>
  <prodId>1</prodId>
  <whId>2</whId>
</ProdStockSummaryConfig>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ProdStockSummaryModel
NameDescriptionTypeAdditional information
sumCurrent

decimal number

None.

sumAvailable

decimal number

None.

sumTotal

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "sumCurrent": 1.0,
  "sumAvailable": 2.0,
  "sumTotal": 3.0
}

application/xml, text/xml

Sample:
<ProdStockSummaryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Framework.Models">
  <sumAvailable>2</sumAvailable>
  <sumCurrent>1</sumCurrent>
  <sumTotal>3</sumTotal>
</ProdStockSummaryModel>