POST api/DMS/AddRemoveStockFromDmsToOms
Request Information
URI Parameters
None.
Body Parameters
AddRemoveStockFromDmsToOmsName | Description | Type | Additional information |
---|---|---|---|
businessId | integer |
None. |
|
loginUserID | integer |
None. |
|
adjustmentType | string |
None. |
|
StockDetails | Collection of AddRemoveStockFromDmsToOmsTable |
None. |
Request Formats
application/json, text/json
Sample:
{ "businessId": 1, "loginUserID": 2, "adjustmentType": "sample string 3", "StockDetails": [ { "SkuCode": "sample string 1", "PresentQuantity": 2, "NewQuantity": 3 }, { "SkuCode": "sample string 1", "PresentQuantity": 2, "NewQuantity": 3 } ] }
application/xml, text/xml
Sample:
<AddRemoveStockFromDmsToOms xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <StockDetails> <AddRemoveStockFromDmsToOmsTable> <NewQuantity>3</NewQuantity> <PresentQuantity>2</PresentQuantity> <SkuCode>sample string 1</SkuCode> </AddRemoveStockFromDmsToOmsTable> <AddRemoveStockFromDmsToOmsTable> <NewQuantity>3</NewQuantity> <PresentQuantity>2</PresentQuantity> <SkuCode>sample string 1</SkuCode> </AddRemoveStockFromDmsToOmsTable> </StockDetails> <adjustmentType>sample string 3</adjustmentType> <businessId>1</businessId> <loginUserID>2</loginUserID> </AddRemoveStockFromDmsToOms>
application/x-www-form-urlencoded
Sample:
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 06:47:54", "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>