Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

JSON Format


Body

{
"ProductMaster": {
"CountryOfOrigin": "string",
"Brand": "string",
"Colour": "string",
"Size": "string",
"GroupIdentifier": "string",
"QCControlled": true,
"QCPercentage": 0,
"SerialNumberControlled": true,
"InwardProcessing": true,
"WetBond": true,
"UnitPrice": 0,
"LeadTime": 0,
"Category1": "string",
"Category2": "string",
"MOQ": 0,
"Currency": "string",
"ProductUse": "string",
"ClientProductStatus": "string",
"Business": "string",
"Bonded": true,
"SecondaryCurrencyCode": "string",
"SecondaryPrice": 0,
"StyleCode": "string",
"EAN": "string",
"HTSCode": "string",
"ProductDescription": "string",
"DateControlled": true,
"GrossWeight": 0,
"GrossWeightUOM": "string",
"LotControlled": true,
"Hazardous": true,
"ProductCode": "string",
"ProductLongDescription": "string"
},
"List": {
"Image": [
{
"ImageData": "string",
"DefaultImage": true
}
],
"SupplierMapping": [
{
"SupplierCode": "string",
"SupplierDescription": "string",
"UOM": 0
}
],
"ShipToCompanyMapping": [
{
"BranchCode": "string",
"CompanyCode": "string",
"MappedCode": "string"
}
],
"ProductCategory": [
{
"CategoryCode": "string"
}
],
"ProductIdentifier": [
{
"Name": "string",
"Values": "string"
}
]
}
}

Example success Response Body

{
"CallStatus": {
"Success": true,
"Code": 0,
"Message": ""
}
}

Example failure Response Body

{
"CallStatus": {
"Success": false,
"Code": 100,
"Message": "Error Submitting Product Master: PMTest123 - Error. Product Code PMTest123 already exists."
}
}