POST api/MOQ/AddSkuWiseMoq

Request Information

URI Parameters

None.

Body Parameters

SkuMoq
NameDescriptionTypeAdditional information
itemId

integer

None.

moq

integer

None.

locationTypeId

LocationTypeId

None.

locationId

integer

None.

customerTypeId

integer

None.

roleId

integer

None.

BusinessId

integer

None.

LoginuserId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "itemId": 1,
  "moq": 2,
  "locationTypeId": 1,
  "locationId": 3,
  "customerTypeId": 4,
  "roleId": 5,
  "BusinessId": 6,
  "LoginuserId": 7
}

application/xml, text/xml

Sample:
<SkuMoq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <BusinessId>6</BusinessId>
  <LoginuserId>7</LoginuserId>
  <customerTypeId>4</customerTypeId>
  <locationId>3</locationId>
  <locationTypeId>branch</locationTypeId>
  <moq>2</moq>
  <roleId>5</roleId>
  <itemId>1</itemId>
</SkuMoq>

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": "2025/06/22 12:31:24",
  "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>