POST api/WarehouseStock/UpdateStockQuantity
Request Information
URI Parameters
None.
Body Parameters
StockUpdateDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| stockRef | string |
None. |
|
| warehouseCode | string |
None. |
|
| quantity | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"stockRef": "sample string 1",
"warehouseCode": "sample string 2",
"quantity": 3.0
}
application/xml, text/xml
Sample:
<StockUpdateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DMH.DTO.Upload"> <_x003C_quantity_x003E_k__BackingField>3</_x003C_quantity_x003E_k__BackingField> <_x003C_stockRef_x003E_k__BackingField>sample string 1</_x003C_stockRef_x003E_k__BackingField> <_x003C_warehouseCode_x003E_k__BackingField>sample string 2</_x003C_warehouseCode_x003E_k__BackingField> </StockUpdateDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>