POST api/PreReceiving
Request Information
URI Parameters
None.
Body Parameters
PreReceivingRequestDataName | Description | Type | Additional information |
---|---|---|---|
PreReceiving | Collection of PreReceiving |
None. |
Request Formats
application/json, text/json
Sample:
{ "PreReceiving": [ { "CO": "sample string 1", "DIV": "sample string 2", "CUSTNO": "sample string 3", "CUSTNAME": "sample string 4", "RECEIVEDATE": "sample string 5", "PURCHASEORDER": "sample string 6", "SHIPMENTREFERENCE": "sample string 7", "SHIPMENTID": "sample string 8", "SHIPVIA": "sample string 9", "ESTIMATEDDELIVERYDATE": "sample string 10", "TOTALCARTONS": "sample string 11", "TOTALUNITS": "sample string 12", "TOTALPALLETS": "sample string 13", "CARTONNUMBER": "sample string 14", "COMMENTS1": "sample string 15", "COMMENTS2": "sample string 16", "COMMENTS3": "sample string 17", "ITEMS": [ { "VENDORSTYLE": "sample string 1", "SIZE": "sample string 2", "COLOR": "sample string 3", "UPCEAN": "sample string 4", "ALTSKU": "sample string 5", "UM": "sample string 6", "QTY": 7, "PRICE": "sample string 8", "LINENUMBER": 9, "WAREHOUSEID": "sample string 10" }, { "VENDORSTYLE": "sample string 1", "SIZE": "sample string 2", "COLOR": "sample string 3", "UPCEAN": "sample string 4", "ALTSKU": "sample string 5", "UM": "sample string 6", "QTY": 7, "PRICE": "sample string 8", "LINENUMBER": 9, "WAREHOUSEID": "sample string 10" } ] }, { "CO": "sample string 1", "DIV": "sample string 2", "CUSTNO": "sample string 3", "CUSTNAME": "sample string 4", "RECEIVEDATE": "sample string 5", "PURCHASEORDER": "sample string 6", "SHIPMENTREFERENCE": "sample string 7", "SHIPMENTID": "sample string 8", "SHIPVIA": "sample string 9", "ESTIMATEDDELIVERYDATE": "sample string 10", "TOTALCARTONS": "sample string 11", "TOTALUNITS": "sample string 12", "TOTALPALLETS": "sample string 13", "CARTONNUMBER": "sample string 14", "COMMENTS1": "sample string 15", "COMMENTS2": "sample string 16", "COMMENTS3": "sample string 17", "ITEMS": [ { "VENDORSTYLE": "sample string 1", "SIZE": "sample string 2", "COLOR": "sample string 3", "UPCEAN": "sample string 4", "ALTSKU": "sample string 5", "UM": "sample string 6", "QTY": 7, "PRICE": "sample string 8", "LINENUMBER": 9, "WAREHOUSEID": "sample string 10" }, { "VENDORSTYLE": "sample string 1", "SIZE": "sample string 2", "COLOR": "sample string 3", "UPCEAN": "sample string 4", "ALTSKU": "sample string 5", "UM": "sample string 6", "QTY": 7, "PRICE": "sample string 8", "LINENUMBER": 9, "WAREHOUSEID": "sample string 10" } ] } ] }
application/xml, text/xml
Sample:
<PreReceivingRequestData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HanoverAPI.Models"> <PreReceiving> <PreReceiving> <CARTONNUMBER>sample string 14</CARTONNUMBER> <CO>sample string 1</CO> <COMMENTS1>sample string 15</COMMENTS1> <COMMENTS2>sample string 16</COMMENTS2> <COMMENTS3>sample string 17</COMMENTS3> <CUSTNAME>sample string 4</CUSTNAME> <CUSTNO>sample string 3</CUSTNO> <DIV>sample string 2</DIV> <ESTIMATEDDELIVERYDATE>sample string 10</ESTIMATEDDELIVERYDATE> <ITEMS> <PreReceivingItem> <ALTSKU>sample string 5</ALTSKU> <COLOR>sample string 3</COLOR> <LINENUMBER>9</LINENUMBER> <PRICE>sample string 8</PRICE> <QTY>7</QTY> <SIZE>sample string 2</SIZE> <UM>sample string 6</UM> <UPCEAN>sample string 4</UPCEAN> <VENDORSTYLE>sample string 1</VENDORSTYLE> <WAREHOUSEID>sample string 10</WAREHOUSEID> </PreReceivingItem> <PreReceivingItem> <ALTSKU>sample string 5</ALTSKU> <COLOR>sample string 3</COLOR> <LINENUMBER>9</LINENUMBER> <PRICE>sample string 8</PRICE> <QTY>7</QTY> <SIZE>sample string 2</SIZE> <UM>sample string 6</UM> <UPCEAN>sample string 4</UPCEAN> <VENDORSTYLE>sample string 1</VENDORSTYLE> <WAREHOUSEID>sample string 10</WAREHOUSEID> </PreReceivingItem> </ITEMS> <PURCHASEORDER>sample string 6</PURCHASEORDER> <RECEIVEDATE>sample string 5</RECEIVEDATE> <SHIPMENTID>sample string 8</SHIPMENTID> <SHIPMENTREFERENCE>sample string 7</SHIPMENTREFERENCE> <SHIPVIA>sample string 9</SHIPVIA> <TOTALCARTONS>sample string 11</TOTALCARTONS> <TOTALPALLETS>sample string 13</TOTALPALLETS> <TOTALUNITS>sample string 12</TOTALUNITS> </PreReceiving> <PreReceiving> <CARTONNUMBER>sample string 14</CARTONNUMBER> <CO>sample string 1</CO> <COMMENTS1>sample string 15</COMMENTS1> <COMMENTS2>sample string 16</COMMENTS2> <COMMENTS3>sample string 17</COMMENTS3> <CUSTNAME>sample string 4</CUSTNAME> <CUSTNO>sample string 3</CUSTNO> <DIV>sample string 2</DIV> <ESTIMATEDDELIVERYDATE>sample string 10</ESTIMATEDDELIVERYDATE> <ITEMS> <PreReceivingItem> <ALTSKU>sample string 5</ALTSKU> <COLOR>sample string 3</COLOR> <LINENUMBER>9</LINENUMBER> <PRICE>sample string 8</PRICE> <QTY>7</QTY> <SIZE>sample string 2</SIZE> <UM>sample string 6</UM> <UPCEAN>sample string 4</UPCEAN> <VENDORSTYLE>sample string 1</VENDORSTYLE> <WAREHOUSEID>sample string 10</WAREHOUSEID> </PreReceivingItem> <PreReceivingItem> <ALTSKU>sample string 5</ALTSKU> <COLOR>sample string 3</COLOR> <LINENUMBER>9</LINENUMBER> <PRICE>sample string 8</PRICE> <QTY>7</QTY> <SIZE>sample string 2</SIZE> <UM>sample string 6</UM> <UPCEAN>sample string 4</UPCEAN> <VENDORSTYLE>sample string 1</VENDORSTYLE> <WAREHOUSEID>sample string 10</WAREHOUSEID> </PreReceivingItem> </ITEMS> <PURCHASEORDER>sample string 6</PURCHASEORDER> <RECEIVEDATE>sample string 5</RECEIVEDATE> <SHIPMENTID>sample string 8</SHIPMENTID> <SHIPMENTREFERENCE>sample string 7</SHIPMENTREFERENCE> <SHIPVIA>sample string 9</SHIPVIA> <TOTALCARTONS>sample string 11</TOTALCARTONS> <TOTALPALLETS>sample string 13</TOTALPALLETS> <TOTALUNITS>sample string 12</TOTALUNITS> </PreReceiving> </PreReceiving> </PreReceivingRequestData>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseBaseOfListOfPreReceivingResultName | Description | Type | Additional information |
---|---|---|---|
status | Status |
None. |
|
result | Collection of PreReceivingResult |
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": [ { "CO": "sample string 1", "DIV": "sample string 2", "CUSTNO": "sample string 3", "CUSTNAME": "sample string 4", "RECEIVEDATE": "sample string 5", "PURCHASEORDER": "sample string 6", "SHIPMENTREFERENCE": "sample string 7", "SHIPMENTID": "sample string 8", "SHIPVIA": "sample string 9", "STATUSCODE": "sample string 10" }, { "CO": "sample string 1", "DIV": "sample string 2", "CUSTNO": "sample string 3", "CUSTNAME": "sample string 4", "RECEIVEDATE": "sample string 5", "PURCHASEORDER": "sample string 6", "SHIPMENTREFERENCE": "sample string 7", "SHIPMENTID": "sample string 8", "SHIPVIA": "sample string 9", "STATUSCODE": "sample string 10" } ] }
application/xml, text/xml
Sample:
<ResponseBaseOfArrayOfPreReceivingResultStGUShCv xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HanoverAPI.Models"> <result> <PreReceivingResult> <CO>sample string 1</CO> <CUSTNAME>sample string 4</CUSTNAME> <CUSTNO>sample string 3</CUSTNO> <DIV>sample string 2</DIV> <PURCHASEORDER>sample string 6</PURCHASEORDER> <RECEIVEDATE>sample string 5</RECEIVEDATE> <SHIPMENTID>sample string 8</SHIPMENTID> <SHIPMENTREFERENCE>sample string 7</SHIPMENTREFERENCE> <SHIPVIA>sample string 9</SHIPVIA> <STATUSCODE>sample string 10</STATUSCODE> </PreReceivingResult> <PreReceivingResult> <CO>sample string 1</CO> <CUSTNAME>sample string 4</CUSTNAME> <CUSTNO>sample string 3</CUSTNO> <DIV>sample string 2</DIV> <PURCHASEORDER>sample string 6</PURCHASEORDER> <RECEIVEDATE>sample string 5</RECEIVEDATE> <SHIPMENTID>sample string 8</SHIPMENTID> <SHIPMENTREFERENCE>sample string 7</SHIPMENTREFERENCE> <SHIPVIA>sample string 9</SHIPVIA> <STATUSCODE>sample string 10</STATUSCODE> </PreReceivingResult> </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> </ResponseBaseOfArrayOfPreReceivingResultStGUShCv>