POST api/Store/UpdateStockTakeOrders
Request Information
URI Parameters
None.
Body Parameters
UpdateStockTakeOrdersName | Description | Type | Additional information |
---|---|---|---|
BusinessID | integer |
None. |
|
LoginUserID | integer |
None. |
|
stockDetails | Collection of StockDetail |
None. |
Request Formats
application/json, text/json
Sample:
{ "BusinessID": 1, "LoginUserID": 2, "stockDetails": [ { "ItemID": 1, "OrderID": 2, "Quantity": 3 }, { "ItemID": 1, "OrderID": 2, "Quantity": 3 } ] }
application/xml, text/xml
Sample:
<UpdateStockTakeOrders xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <BusinessID>1</BusinessID> <LoginUserID>2</LoginUserID> <stockDetails> <StockDetail> <ItemID>1</ItemID> <OrderID>2</OrderID> <Quantity>3</Quantity> </StockDetail> <StockDetail> <ItemID>1</ItemID> <OrderID>2</OrderID> <Quantity>3</Quantity> </StockDetail> </stockDetails> </UpdateStockTakeOrders>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VCAPIResponseName | Description | Type | Additional information |
---|---|---|---|
Version | string |
None. |
|
dateTime | string |
None. |
|
StatusCode | integer |
None. |
|
ErrorMessage | string |
None. |
|
Result | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "Version": "1.0.0", "dateTime": "2025/04/04 04:02:22", "StatusCode": 1, "ErrorMessage": "sample string 2", "Result": {} }
application/xml, text/xml
Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <ErrorMessage>sample string 2</ErrorMessage> <Result /> <StatusCode>1</StatusCode> </VCAPIResponse>