POST api/webordertransfer/createorder/{UD1}/{UD2}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
UD1 | string |
Required |
|
UD2 | string |
Required |
Body Parameters
MidwestWebOrderName | Description | Type | Additional information |
---|---|---|---|
orderNumber | string |
String length: inclusive between 0 and 5 |
|
shipToName | string |
String length: inclusive between 0 and 255 |
|
shipToAddress1 | string |
String length: inclusive between 0 and 255 |
|
shipToAddress2 | string |
String length: inclusive between 0 and 255 |
|
shipToAddress3 | string |
String length: inclusive between 0 and 255 |
|
shipToCity | string |
String length: inclusive between 0 and 255 |
|
shipToState | string |
String length: inclusive between 0 and 255 |
|
shipToZip | string |
String length: inclusive between 0 and 255 |
|
shipToCountry | string |
String length: inclusive between 0 and 255 |
|
shipToPhone | string |
String length: inclusive between 0 and 255 |
|
orderNote | string |
String length: inclusive between 0 and 255 |
|
nextDayAir | boolean |
None. |
|
secondDayAir | boolean |
None. |
|
PONumber | string |
String length: inclusive between 0 and 255 |
|
termsCode | string |
String length: inclusive between 0 and 2 |
|
customerNumber | integer |
None. |
|
billthroughNumber | integer |
None. |
|
numberOfItems | integer |
None. |
|
invoiceAmount | decimal number |
None. |
|
submissionDate | date |
None. |
|
isOpen | boolean |
None. |
|
isHistorical | boolean |
None. |
|
details | Dictionary of integer [key] and MidwestWebOrderDetail [value] |
Required |
|
trackingdata | Dictionary of string [key] and Collection of string [value] |
None. |
Request Formats
application/json, text/json
Sample:
{ "orderNumber": "sample string 1", "shipToName": "sample string 2", "shipToAddress1": "sample string 3", "shipToAddress2": "sample string 4", "shipToAddress3": "sample string 5", "shipToCity": "sample string 6", "shipToState": "sample string 7", "shipToZip": "sample string 8", "shipToCountry": "sample string 9", "shipToPhone": "sample string 10", "orderNote": "sample string 11", "nextDayAir": true, "secondDayAir": true, "PONumber": "sample string 14", "termsCode": "sample string 15", "customerNumber": 16, "billthroughNumber": 17, "numberOfItems": 18, "invoiceAmount": 19.0, "submissionDate": "2025-01-15T03:26:43.842077-05:00", "isOpen": true, "isHistorical": true, "details": { "1": { "itemNumber": "sample string 1", "seq": 2, "ordered": 3, "shipped": 4, "price": 5.0, "desc": "sample string 6" }, "2": { "itemNumber": "sample string 1", "seq": 2, "ordered": 3, "shipped": 4, "price": 5.0, "desc": "sample string 6" } }, "trackingdata": { "sample string 1": [ "sample string 1", "sample string 2" ], "sample string 2": [ "sample string 1", "sample string 2" ] } }
application/xml, text/xml
Sample:
<MidwestWebOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Midwest.Controllers"> <PONumber>sample string 14</PONumber> <billthroughNumber>17</billthroughNumber> <customerNumber>16</customerNumber> <details xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:KeyValueOfintMidwestWebOrderDetailXkNpho_P9> <d2p1:Key>1</d2p1:Key> <d2p1:Value> <desc>sample string 6</desc> <itemNumber>sample string 1</itemNumber> <ordered>3</ordered> <price>5</price> <seq>2</seq> <shipped>4</shipped> </d2p1:Value> </d2p1:KeyValueOfintMidwestWebOrderDetailXkNpho_P9> <d2p1:KeyValueOfintMidwestWebOrderDetailXkNpho_P9> <d2p1:Key>2</d2p1:Key> <d2p1:Value> <desc>sample string 6</desc> <itemNumber>sample string 1</itemNumber> <ordered>3</ordered> <price>5</price> <seq>2</seq> <shipped>4</shipped> </d2p1:Value> </d2p1:KeyValueOfintMidwestWebOrderDetailXkNpho_P9> </details> <invoiceAmount>19</invoiceAmount> <isHistorical>true</isHistorical> <isOpen>true</isOpen> <nextDayAir>true</nextDayAir> <numberOfItems>18</numberOfItems> <orderNote>sample string 11</orderNote> <orderNumber>sample string 1</orderNumber> <secondDayAir>true</secondDayAir> <shipToAddress1>sample string 3</shipToAddress1> <shipToAddress2>sample string 4</shipToAddress2> <shipToAddress3>sample string 5</shipToAddress3> <shipToCity>sample string 6</shipToCity> <shipToCountry>sample string 9</shipToCountry> <shipToName>sample string 2</shipToName> <shipToPhone>sample string 10</shipToPhone> <shipToState>sample string 7</shipToState> <shipToZip>sample string 8</shipToZip> <submissionDate>2025-01-15T03:26:43.842077-05:00</submissionDate> <termsCode>sample string 15</termsCode> <trackingdata xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:KeyValueOfstringArrayOfstringty7Ep6D1> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </d2p1:Value> </d2p1:KeyValueOfstringArrayOfstringty7Ep6D1> <d2p1:KeyValueOfstringArrayOfstringty7Ep6D1> <d2p1:Key>sample string 2</d2p1:Key> <d2p1:Value> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </d2p1:Value> </d2p1:KeyValueOfstringArrayOfstringty7Ep6D1> </trackingdata> </MidwestWebOrder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.