POST api/DMS/AddRemoveStockFromDmsToOms
Request Information
URI Parameters
None.
Body Parameters
AddRemoveStockFromDmsToOms| Name | 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,
      "ItemPrice": 4.0
    },
    {
      "SkuCode": "sample string 1",
      "PresentQuantity": 2,
      "NewQuantity": 3,
      "ItemPrice": 4.0
    }
  ]
}
        application/xml, text/xml
            Sample:
        
<AddRemoveStockFromDmsToOms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <businessId>1</businessId>
  <loginUserID>2</loginUserID>
  <adjustmentType>sample string 3</adjustmentType>
  <StockDetails>
    <AddRemoveStockFromDmsToOmsTable>
      <SkuCode>sample string 1</SkuCode>
      <PresentQuantity>2</PresentQuantity>
      <NewQuantity>3</NewQuantity>
      <ItemPrice>4</ItemPrice>
    </AddRemoveStockFromDmsToOmsTable>
    <AddRemoveStockFromDmsToOmsTable>
      <SkuCode>sample string 1</SkuCode>
      <PresentQuantity>2</PresentQuantity>
      <NewQuantity>3</NewQuantity>
      <ItemPrice>4</ItemPrice>
    </AddRemoveStockFromDmsToOmsTable>
  </StockDetails>
</AddRemoveStockFromDmsToOms>
        application/x-www-form-urlencoded
            Sample:
    
Sample not available.
Response Information
Resource Description
VCAPIResponse| Name | 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/10/31 15:37:08",
  "StatusCode": 1,
  "ErrorMessage": "sample string 2",
  "Result": {}
}
        application/xml, text/xml
            Sample:
<VCAPIResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <StatusCode>1</StatusCode> <ErrorMessage>sample string 2</ErrorMessage> <Result /> </VCAPIResponse>