POST api/MOQ/AddBrandWiseMoq
Request Information
URI Parameters
None.
Body Parameters
BrandMoq| Name | Description | Type | Additional information |
|---|---|---|---|
| brandId | 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:
{
"brandId": 1,
"moq": 2,
"locationTypeId": 1,
"locationId": 3,
"customerTypeId": 4,
"roleId": 5,
"BusinessId": 6,
"LoginuserId": 7
}
application/xml, text/xml
Sample:
<BrandMoq 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> <brandId>1</brandId> </BrandMoq>
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/12/25 09:17:16",
"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>