POST api/Store/SKUMapping

Request Information

URI Parameters

None.

Body Parameters

SKUMapping
NameDescriptionTypeAdditional information
BusinessId

integer

None.

AgentId

integer

None.

SKUBulkUpload

Collection of SKUBulkUpload

None.

Request Formats

application/json, text/json

Sample:
{
  "BusinessId": 1,
  "AgentId": 2,
  "SKUBulkUpload": [
    {
      "UserCode": 1,
      "SKU_Code": 2
    },
    {
      "UserCode": 1,
      "SKU_Code": 2
    }
  ]
}

application/xml, text/xml

Sample:
<SKUMapping xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <AgentId>2</AgentId>
  <BusinessId>1</BusinessId>
  <SKUBulkUpload>
    <SKUBulkUpload>
      <SKU_Code>2</SKU_Code>
      <UserCode>1</UserCode>
    </SKUBulkUpload>
    <SKUBulkUpload>
      <SKU_Code>2</SKU_Code>
      <UserCode>1</UserCode>
    </SKUBulkUpload>
  </SKUBulkUpload>
</SKUMapping>

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 06:58: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>