POST api/Store/AddBusinessStockMaster

Request Information

URI Parameters

None.

Body Parameters

AddBusinessStockMaster
NameDescriptionTypeAdditional information
BusinessId

integer

None.

LoginuserId

integer

None.

isDistributor

integer

None.

DistributorId

integer

None.

locationId

integer

None.

StockDetail

Collection of StockMasterTable

None.

Request Formats

application/json, text/json

Sample:
{
  "BusinessId": 1,
  "LoginuserId": 2,
  "isDistributor": 3,
  "DistributorId": 4,
  "locationId": 5,
  "StockDetail": [
    {
      "ItemID": 1,
      "StockIssued": 2
    },
    {
      "ItemID": 1,
      "StockIssued": 2
    }
  ]
}

application/xml, text/xml

Sample:
<AddBusinessStockMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <BusinessId>1</BusinessId>
  <DistributorId>4</DistributorId>
  <LoginuserId>2</LoginuserId>
  <StockDetail>
    <StockMasterTable>
      <ItemID>1</ItemID>
      <StockIssued>2</StockIssued>
    </StockMasterTable>
    <StockMasterTable>
      <ItemID>1</ItemID>
      <StockIssued>2</StockIssued>
    </StockMasterTable>
  </StockDetail>
  <isDistributor>3</isDistributor>
  <locationId>5</locationId>
</AddBusinessStockMaster>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

VCAPIResponse
NameDescriptionTypeAdditional 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": "2024/09/19 17:30:17",
  "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>