POST api/DataUpdate/AddSKU
Request Information
URI Parameters
None.
Body Parameters
AddSKUName | Description | Type | Additional information |
---|---|---|---|
BusinessID | integer |
None. |
|
LoggedInUserid | integer |
None. |
|
SKUCode | string |
None. |
|
SKUName | string |
None. |
|
BrandCode | string |
None. |
|
UOM | string |
None. |
|
BrandName | string |
None. |
|
CategoryCode | string |
None. |
|
CategoryName | string |
None. |
|
SKUGroupID | string |
None. |
|
Freeze | string |
None. |
|
CtnWeight | string |
None. |
|
CtnPerPcs | integer |
None. |
|
IsNew | integer |
None. |
|
CtnLength | string |
None. |
|
CtnHeight | string |
None. |
|
CtnBreadth | string |
None. |
|
ParentSKUID | string |
None. |
|
Grammage | string |
None. |
|
Packets | integer |
None. |
|
SubBrand | string |
None. |
|
ConversionFactor | string |
None. |
|
SubCategory | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "BusinessID": 1, "LoggedInUserid": 2, "SKUCode": "sample string 3", "SKUName": "sample string 4", "BrandCode": "sample string 5", "UOM": "sample string 6", "BrandName": "sample string 7", "CategoryCode": "sample string 8", "CategoryName": "sample string 9", "SKUGroupID": "sample string 10", "Freeze": "sample string 11", "CtnWeight": "sample string 12", "CtnPerPcs": 13, "IsNew": 14, "CtnLength": "sample string 15", "CtnHeight": "sample string 16", "CtnBreadth": "sample string 17", "ParentSKUID": "sample string 18", "Grammage": "sample string 19", "Packets": 20, "SubBrand": "sample string 21", "ConversionFactor": "sample string 22", "SubCategory": "sample string 23" }
application/xml, text/xml
Sample:
<AddSKU xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <BrandCode>sample string 5</BrandCode> <BrandName>sample string 7</BrandName> <BusinessID>1</BusinessID> <CategoryCode>sample string 8</CategoryCode> <CategoryName>sample string 9</CategoryName> <ConversionFactor>sample string 22</ConversionFactor> <CtnBreadth>sample string 17</CtnBreadth> <CtnHeight>sample string 16</CtnHeight> <CtnLength>sample string 15</CtnLength> <CtnPerPcs>13</CtnPerPcs> <CtnWeight>sample string 12</CtnWeight> <Freeze>sample string 11</Freeze> <Grammage>sample string 19</Grammage> <IsNew>14</IsNew> <LoggedInUserid>2</LoggedInUserid> <Packets>20</Packets> <ParentSKUID>sample string 18</ParentSKUID> <SKUCode>sample string 3</SKUCode> <SKUGroupID>sample string 10</SKUGroupID> <SKUName>sample string 4</SKUName> <SubBrand>sample string 21</SubBrand> <SubCategory>sample string 23</SubCategory> <UOM>sample string 6</UOM> </AddSKU>
application/x-www-form-urlencoded
Sample:
Sample not available.
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 03:38:23", "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>