POST api/BatchWiseStock/UpdateBatchWiseStockByProduct

Request Information

URI Parameters

None.

Body Parameters

BatchWiseStockModel
NameDescriptionTypeAdditional information
ProductCode

string

Required

String length: inclusive between 0 and 50

ProductName

string

String length: inclusive between 0 and 200

Qty

decimal number

Required

Range: inclusive between 0.01 and 1.79769313486232E+308

Cost

decimal number

Required

Range: inclusive between 0.01 and 1.79769313486232E+308

NewCost

decimal number

Required

Range: inclusive between 0.01 and 1.79769313486232E+308

BatchNo

string

Required

String length: inclusive between 0 and 100

Request Formats

application/json, text/json

Sample:
{
  "ProductCode": "sample string 1",
  "ProductName": "sample string 2",
  "Qty": 3.0,
  "Cost": 4.0,
  "NewCost": 5.0,
  "BatchNo": "sample string 6"
}

application/xml, text/xml

Sample:
<BatchWiseStockModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataSynchronization.Models">
  <BatchNo>sample string 6</BatchNo>
  <Cost>4</Cost>
  <NewCost>5</NewCost>
  <ProductCode>sample string 1</ProductCode>
  <ProductName>sample string 2</ProductName>
  <Qty>3</Qty>
</BatchWiseStockModel>

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.