POST api/ERPDataUpdate/AddWarehouseStock
Request Information
URI Parameters
None.
Body Parameters
WarehouseStockName | Description | Type | Additional information |
---|---|---|---|
StockLevel | Collection of WarehouseStockList |
None. |
|
IsInvalid | boolean |
None. |
|
BusinessCode | string |
None. |
|
BusinessType | string |
None. |
|
WarehouseCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "StockLevel": [ { "SKUCode": "sample string 1", "StockQty": 2, "IsInvalid": false }, { "SKUCode": "sample string 1", "StockQty": 2, "IsInvalid": false } ], "IsInvalid": false, "BusinessCode": "sample string 1", "BusinessType": "sample string 2", "WarehouseCode": "sample string 3" }
application/xml, text/xml
Sample:
<WarehouseStock xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model.Orion"> <BusinessCode>sample string 1</BusinessCode> <BusinessType>sample string 2</BusinessType> <WarehouseCode>sample string 3</WarehouseCode> <StockLevel> <WarehouseStockList> <SKUCode>sample string 1</SKUCode> <StockQty>2</StockQty> </WarehouseStockList> <WarehouseStockList> <SKUCode>sample string 1</SKUCode> <StockQty>2</StockQty> </WarehouseStockList> </StockLevel> </WarehouseStock>
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 03:57:55", "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>