POST stockPoints/saveStockBOM
Request Information
URI Parameters
None.
Body Parameters
StockBOMEntity| Name | Description | Type | Additional information |
|---|---|---|---|
| StockDesc | string |
None. |
|
| StockCode | string |
None. |
|
| StockId | integer |
None. |
|
| Quantity | decimal number |
None. |
|
| CanReplace | boolean |
None. |
|
| BOMStockId | integer |
None. |
|
| UseBOMPrice | boolean |
None. |
|
| CostPrice | decimal number |
None. |
|
| PriceExc | decimal number |
None. |
|
| StockType | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"StockDesc": "sample string 1",
"StockCode": "sample string 2",
"StockId": 3,
"Quantity": 4.0,
"CanReplace": true,
"BOMStockId": 6,
"UseBOMPrice": true,
"CostPrice": 1.0,
"PriceExc": 1.0,
"StockType": "sample string 7"
}
text/html
Sample:
{"StockDesc":"sample string 1","StockCode":"sample string 2","StockId":3,"Quantity":4.0,"CanReplace":true,"BOMStockId":6,"UseBOMPrice":true,"CostPrice":1.0,"PriceExc":1.0,"StockType":"sample string 7"}
application/xml, text/xml
Sample:
<StockBOMEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.Xyro.Models.StoreMan"> <BOMStockId>6</BOMStockId> <CanReplace>true</CanReplace> <CostPrice>1</CostPrice> <PriceExc>1</PriceExc> <Quantity>4</Quantity> <StockCode>sample string 2</StockCode> <StockDesc>sample string 1</StockDesc> <StockId>3</StockId> <StockType>sample string 7</StockType> <UseBOMPrice>true</UseBOMPrice> </StockBOMEntity>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.