POST api/ProductMaster
Request Information
URI Parameters
None.
Body Parameters
ProductMasterRequestDataName | Description | Type | Additional information |
---|---|---|---|
ProductMaster | Collection of ProductMasterRecord |
Required |
Request Formats
application/json, text/json
Sample:
{ "ProductMaster": [ { "CO": "sample string 1", "DIV": "sample string 2", "UPC": "sample string 3", "EAN": "sample string 4", "STYLE": "sample string 5", "STYLEDESC": "sample string 6", "SIZE": "sample string 7", "NRFSIZECODE": "sample string 8", "SIZEDESC": "sample string 9", "COLOR": "sample string 10", "NRFCOLORCODE": "sample string 11", "COLORDESC": "sample string 12", "SKU": "sample string 13", "UM": "sample string 14", "RANGE": "sample string 15" }, { "CO": "sample string 1", "DIV": "sample string 2", "UPC": "sample string 3", "EAN": "sample string 4", "STYLE": "sample string 5", "STYLEDESC": "sample string 6", "SIZE": "sample string 7", "NRFSIZECODE": "sample string 8", "SIZEDESC": "sample string 9", "COLOR": "sample string 10", "NRFCOLORCODE": "sample string 11", "COLORDESC": "sample string 12", "SKU": "sample string 13", "UM": "sample string 14", "RANGE": "sample string 15" } ] }
application/xml, text/xml
Sample:
<ProductMasterRequestData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HanoverAPI.Models"> <ProductMaster> <ProductMasterRecord> <CO>sample string 1</CO> <COLOR>sample string 10</COLOR> <COLORDESC>sample string 12</COLORDESC> <DIV>sample string 2</DIV> <EAN>sample string 4</EAN> <NRFCOLORCODE>sample string 11</NRFCOLORCODE> <NRFSIZECODE>sample string 8</NRFSIZECODE> <RANGE>sample string 15</RANGE> <SIZE>sample string 7</SIZE> <SIZEDESC>sample string 9</SIZEDESC> <SKU>sample string 13</SKU> <STYLE>sample string 5</STYLE> <STYLEDESC>sample string 6</STYLEDESC> <UM>sample string 14</UM> <UPC>sample string 3</UPC> </ProductMasterRecord> <ProductMasterRecord> <CO>sample string 1</CO> <COLOR>sample string 10</COLOR> <COLORDESC>sample string 12</COLORDESC> <DIV>sample string 2</DIV> <EAN>sample string 4</EAN> <NRFCOLORCODE>sample string 11</NRFCOLORCODE> <NRFSIZECODE>sample string 8</NRFSIZECODE> <RANGE>sample string 15</RANGE> <SIZE>sample string 7</SIZE> <SIZEDESC>sample string 9</SIZEDESC> <SKU>sample string 13</SKU> <STYLE>sample string 5</STYLE> <STYLEDESC>sample string 6</STYLEDESC> <UM>sample string 14</UM> <UPC>sample string 3</UPC> </ProductMasterRecord> </ProductMaster> </ProductMasterRequestData>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseBaseOfListOfProductMasterResultRecordName | Description | Type | Additional information |
---|---|---|---|
status | Status |
None. |
|
result | Collection of ProductMasterResultRecord |
None. |
Response Formats
application/json, text/json
Sample:
{ "status": { "type": "Info", "code": "sample string 1", "message": "sample string 2", "refCode": "sample string 3", "stackTrace": "sample string 4", "requestErrors": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" } }, "result": [ { "UPC": "sample string 1", "STYLE": "sample string 2", "SIZE": "sample string 3", "COLOR": "sample string 4", "STATUSCODE": "sample string 5" }, { "UPC": "sample string 1", "STYLE": "sample string 2", "SIZE": "sample string 3", "COLOR": "sample string 4", "STATUSCODE": "sample string 5" } ] }
application/xml, text/xml
Sample:
<ResponseBaseOfArrayOfProductMasterResultRecordStGUShCv xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HanoverAPI.Models"> <result> <ProductMasterResultRecord> <COLOR>sample string 4</COLOR> <SIZE>sample string 3</SIZE> <STATUSCODE>sample string 5</STATUSCODE> <STYLE>sample string 2</STYLE> <UPC>sample string 1</UPC> </ProductMasterResultRecord> <ProductMasterResultRecord> <COLOR>sample string 4</COLOR> <SIZE>sample string 3</SIZE> <STATUSCODE>sample string 5</STATUSCODE> <STYLE>sample string 2</STYLE> <UPC>sample string 1</UPC> </ProductMasterResultRecord> </result> <status> <code>sample string 1</code> <message>sample string 2</message> <refCode>sample string 3</refCode> <requestErrors xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:KeyValueOfstringstring> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:KeyValueOfstringstring> <d3p1:KeyValueOfstringstring> <d3p1:Key>sample string 3</d3p1:Key> <d3p1:Value>sample string 4</d3p1:Value> </d3p1:KeyValueOfstringstring> </requestErrors> <stackTrace>sample string 4</stackTrace> <type>Info</type> </status> </ResponseBaseOfArrayOfProductMasterResultRecordStGUShCv>