PUT api/PU/PrivateStock/UpdateStock

แก้ไขข้อมูลโมเดล สี ไซต์เข้าออก Stock

Request Information

URI Parameters

None.

Body Parameters

m_UpdatePrivateStock
NameDescriptionTypeAdditional information
bom_id

integer

Range: inclusive between 1 and 2147483647

size

integer

Range: inclusive between 1 and 2147483647

amount

decimal number

Range: inclusive between -2147483648 and 2147483647

remark

string

None.

Request Formats

application/json, text/json

Sample:
{
  "bom_id": 1,
  "size": 2,
  "amount": 3.1,
  "remark": "sample string 4"
}

application/xml, text/xml

Sample:
<m_UpdatePrivateStock xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.WebAPI.Models.PU">
  <amount>3.1</amount>
  <bom_id>1</bom_id>
  <remark>sample string 4</remark>
  <size>2</size>
</m_UpdatePrivateStock>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'm_UpdatePrivateStock'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.