POST jxc_api/DDL/ProdStockSummary

Request Information

URI Parameters

None.

Body Parameters

ProdStockSummaryConfig
NameDescriptionTypeAdditional information
prodId

integer

None.

whId

integer

None.

apId

integer

None.

UnitId

integer

None.

Request Formats

application/json, text/json

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

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">
  <UnitId>4</UnitId>
  <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.

UnitId

integer

None.

UnitName

string

None.

UnitRate

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "sumCurrent": 1.0,
  "sumAvailable": 2.0,
  "sumTotal": 3.0,
  "UnitId": 4,
  "UnitName": "sample string 5",
  "UnitRate": 6.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">
  <UnitId>4</UnitId>
  <UnitName>sample string 5</UnitName>
  <UnitRate>6</UnitRate>
  <sumAvailable>2</sumAvailable>
  <sumCurrent>1</sumCurrent>
  <sumTotal>3</sumTotal>
</ProdStockSummaryModel>