POST api/DataUpdate/AddSKU

Request Information

URI Parameters

None.

Body Parameters

AddSKU
NameDescriptionTypeAdditional 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.

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"
}

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>
  <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>
  <IsNew>14</IsNew>
  <LoggedInUserid>2</LoggedInUserid>
  <SKUCode>sample string 3</SKUCode>
  <SKUGroupID>sample string 10</SKUGroupID>
  <SKUName>sample string 4</SKUName>
  <UOM>sample string 6</UOM>
</AddSKU>

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": "2020/10/22 05:30:31",
  "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>