GET api/MWM4/GetVopOrder?UD1={UD1}&UD2={UD2}&csno={csno}&CreateIfMissing={CreateIfMissing}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
UD1 | string |
Required |
|
UD2 | string |
Required |
|
csno | integer |
Required |
|
CreateIfMissing | boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
VOPOrderWrapperName | Description | Type | Additional information |
---|---|---|---|
ErrorMessage | string |
None. |
|
OrderObject | MWM4Order |
None. |
Response Formats
application/json, text/json
Sample:
{ "ErrorMessage": "sample string 1", "OrderObject": { "orderNumber": "sample string 1", "customerName": "sample string 2", "shipToName": "sample string 3", "shipToAddress1": "sample string 4", "shipToAddress2": "sample string 5", "shipToAddress3": "sample string 6", "shipToCity": "sample string 7", "shipToState": "sample string 8", "shipToZip": "sample string 9", "shipToCountry": "sample string 10", "shiptophone": "sample string 11", "shipToEmail": "sample string 12", "orderNote": "sample string 13", "orderNote2": "sample string 14", "specialInstructions": "sample string 15", "carrierCode": "sample string 16", "sourceProgram": "sample string 17", "PONumber": "sample string 18", "termsCode": "sample string 19", "billthroughName": "sample string 20", "programVersion": "sample string 21", "orderType": "sample string 22", "deletedReason": "sample string 23", "deletedBy": "sample string 24", "customerNumber": 25, "billthroughNumber": 26, "numberOfItems": 27, "invoiceAmount": 28.0, "ETDT": "2025-01-15T03:16:07.1646741-05:00", "FSDT": "2025-01-15T03:16:07.1646741-05:00", "RSDT": "2025-01-15T03:16:07.1646741-05:00", "ORDT": "2025-01-15T03:16:07.1646741-05:00", "HSDT": "2025-01-15T03:16:07.1646741-05:00", "DLDT": "2025-01-15T03:16:07.1646741-05:00", "islocal": true, "isOpen": true, "isHistorical": true, "isDeleted": true, "isVopOrder": true, "TotalChangedEvent": null, "_repNote": "sample string 40", "VopID": 41, "details": { "1": { "orderNumber": "sample string 1", "itemNumber": "sample string 2", "secondaryItemNumber": "sample string 3", "labelType": "sample string 4", "description": "sample string 5", "size": "sample string 6", "material": "sample string 7", "sequenceNumber": 8, "qty": 9, "pieces": 10, "aslp": 11.0, "unitOfMeasure": "sample string 12", "unitWeight": 13.0 }, "2": { "orderNumber": "sample string 1", "itemNumber": "sample string 2", "secondaryItemNumber": "sample string 3", "labelType": "sample string 4", "description": "sample string 5", "size": "sample string 6", "material": "sample string 7", "sequenceNumber": 8, "qty": 9, "pieces": 10, "aslp": 11.0, "unitOfMeasure": "sample string 12", "unitWeight": 13.0 } }, "labelDetails": { "1": { "orderNumber": "sample string 1", "itemNumber": "sample string 2", "secondaryItemNumber": "sample string 3", "labelType": "sample string 4", "description": "sample string 5", "size": "sample string 6", "material": "sample string 7", "sequenceNumber": 8, "qty": 9, "pieces": 10, "aslp": 11.0, "unitOfMeasure": "sample string 12", "unitWeight": 13.0 }, "2": { "orderNumber": "sample string 1", "itemNumber": "sample string 2", "secondaryItemNumber": "sample string 3", "labelType": "sample string 4", "description": "sample string 5", "size": "sample string 6", "material": "sample string 7", "sequenceNumber": 8, "qty": 9, "pieces": 10, "aslp": 11.0, "unitOfMeasure": "sample string 12", "unitWeight": 13.0 } }, "saves": [], "saving": false, "MySerializer": {}, "filepath": "sample string 42", "SerializableDetailsStorage": [ { "orderNumber": "sample string 1", "itemNumber": "sample string 2", "secondaryItemNumber": "sample string 3", "labelType": "sample string 4", "description": "sample string 5", "size": "sample string 6", "material": "sample string 7", "sequenceNumber": 8, "qty": 9, "pieces": 10, "aslp": 11.0, "unitOfMeasure": "sample string 12", "unitWeight": 13.0 }, { "orderNumber": "sample string 1", "itemNumber": "sample string 2", "secondaryItemNumber": "sample string 3", "labelType": "sample string 4", "description": "sample string 5", "size": "sample string 6", "material": "sample string 7", "sequenceNumber": 8, "qty": 9, "pieces": 10, "aslp": 11.0, "unitOfMeasure": "sample string 12", "unitWeight": 13.0 } ], "SerializableLabelDetailsStorage": [ { "orderNumber": "sample string 1", "itemNumber": "sample string 2", "secondaryItemNumber": "sample string 3", "labelType": "sample string 4", "description": "sample string 5", "size": "sample string 6", "material": "sample string 7", "sequenceNumber": 8, "qty": 9, "pieces": 10, "aslp": 11.0, "unitOfMeasure": "sample string 12", "unitWeight": 13.0 }, { "orderNumber": "sample string 1", "itemNumber": "sample string 2", "secondaryItemNumber": "sample string 3", "labelType": "sample string 4", "description": "sample string 5", "size": "sample string 6", "material": "sample string 7", "sequenceNumber": 8, "qty": 9, "pieces": 10, "aslp": 11.0, "unitOfMeasure": "sample string 12", "unitWeight": 13.0 } ] } }
application/xml, text/xml
Sample:
<VOPOrderWrapper xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Midwest.Controllers"> <ErrorMessage>sample string 1</ErrorMessage> <OrderObject> <DLDT>2025-01-15T03:16:07.1646741-05:00</DLDT> <ETDT>2025-01-15T03:16:07.1646741-05:00</ETDT> <FSDT>2025-01-15T03:16:07.1646741-05:00</FSDT> <HSDT>2025-01-15T03:16:07.1646741-05:00</HSDT> <MySerializer xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Xml.Serialization" /> <ORDT>2025-01-15T03:16:07.1646741-05:00</ORDT> <PONumber>sample string 18</PONumber> <RSDT>2025-01-15T03:16:07.1646741-05:00</RSDT> <SerializableDetailsStorage> <MWM4Detail> <aslp>11</aslp> <description>sample string 5</description> <itemNumber>sample string 2</itemNumber> <labelType>sample string 4</labelType> <material>sample string 7</material> <orderNumber>sample string 1</orderNumber> <pieces>10</pieces> <qty>9</qty> <secondaryItemNumber>sample string 3</secondaryItemNumber> <sequenceNumber>8</sequenceNumber> <size>sample string 6</size> <unitOfMeasure>sample string 12</unitOfMeasure> <unitWeight>13</unitWeight> </MWM4Detail> <MWM4Detail> <aslp>11</aslp> <description>sample string 5</description> <itemNumber>sample string 2</itemNumber> <labelType>sample string 4</labelType> <material>sample string 7</material> <orderNumber>sample string 1</orderNumber> <pieces>10</pieces> <qty>9</qty> <secondaryItemNumber>sample string 3</secondaryItemNumber> <sequenceNumber>8</sequenceNumber> <size>sample string 6</size> <unitOfMeasure>sample string 12</unitOfMeasure> <unitWeight>13</unitWeight> </MWM4Detail> </SerializableDetailsStorage> <SerializableLabelDetailsStorage> <MWM4Detail> <aslp>11</aslp> <description>sample string 5</description> <itemNumber>sample string 2</itemNumber> <labelType>sample string 4</labelType> <material>sample string 7</material> <orderNumber>sample string 1</orderNumber> <pieces>10</pieces> <qty>9</qty> <secondaryItemNumber>sample string 3</secondaryItemNumber> <sequenceNumber>8</sequenceNumber> <size>sample string 6</size> <unitOfMeasure>sample string 12</unitOfMeasure> <unitWeight>13</unitWeight> </MWM4Detail> <MWM4Detail> <aslp>11</aslp> <description>sample string 5</description> <itemNumber>sample string 2</itemNumber> <labelType>sample string 4</labelType> <material>sample string 7</material> <orderNumber>sample string 1</orderNumber> <pieces>10</pieces> <qty>9</qty> <secondaryItemNumber>sample string 3</secondaryItemNumber> <sequenceNumber>8</sequenceNumber> <size>sample string 6</size> <unitOfMeasure>sample string 12</unitOfMeasure> <unitWeight>13</unitWeight> </MWM4Detail> </SerializableLabelDetailsStorage> <TotalChangedEvent i:nil="true" /> <VopID>41</VopID> <_repNote>sample string 40</_repNote> <billthroughName>sample string 20</billthroughName> <billthroughNumber>26</billthroughNumber> <carrierCode>sample string 16</carrierCode> <customerName>sample string 2</customerName> <customerNumber>25</customerNumber> <deletedBy>sample string 24</deletedBy> <deletedReason>sample string 23</deletedReason> <details xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:KeyValueOfintMWM4DetailXkNpho_P9> <d3p1:Key>1</d3p1:Key> <d3p1:Value> <aslp>11</aslp> <description>sample string 5</description> <itemNumber>sample string 2</itemNumber> <labelType>sample string 4</labelType> <material>sample string 7</material> <orderNumber>sample string 1</orderNumber> <pieces>10</pieces> <qty>9</qty> <secondaryItemNumber>sample string 3</secondaryItemNumber> <sequenceNumber>8</sequenceNumber> <size>sample string 6</size> <unitOfMeasure>sample string 12</unitOfMeasure> <unitWeight>13</unitWeight> </d3p1:Value> </d3p1:KeyValueOfintMWM4DetailXkNpho_P9> <d3p1:KeyValueOfintMWM4DetailXkNpho_P9> <d3p1:Key>2</d3p1:Key> <d3p1:Value> <aslp>11</aslp> <description>sample string 5</description> <itemNumber>sample string 2</itemNumber> <labelType>sample string 4</labelType> <material>sample string 7</material> <orderNumber>sample string 1</orderNumber> <pieces>10</pieces> <qty>9</qty> <secondaryItemNumber>sample string 3</secondaryItemNumber> <sequenceNumber>8</sequenceNumber> <size>sample string 6</size> <unitOfMeasure>sample string 12</unitOfMeasure> <unitWeight>13</unitWeight> </d3p1:Value> </d3p1:KeyValueOfintMWM4DetailXkNpho_P9> </details> <filepath>sample string 42</filepath> <invoiceAmount>28</invoiceAmount> <isDeleted>true</isDeleted> <isHistorical>true</isHistorical> <isOpen>true</isOpen> <isVopOrder>true</isVopOrder> <islocal>true</islocal> <labelDetails xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:KeyValueOfintMWM4DetailXkNpho_P9> <d3p1:Key>1</d3p1:Key> <d3p1:Value> <aslp>11</aslp> <description>sample string 5</description> <itemNumber>sample string 2</itemNumber> <labelType>sample string 4</labelType> <material>sample string 7</material> <orderNumber>sample string 1</orderNumber> <pieces>10</pieces> <qty>9</qty> <secondaryItemNumber>sample string 3</secondaryItemNumber> <sequenceNumber>8</sequenceNumber> <size>sample string 6</size> <unitOfMeasure>sample string 12</unitOfMeasure> <unitWeight>13</unitWeight> </d3p1:Value> </d3p1:KeyValueOfintMWM4DetailXkNpho_P9> <d3p1:KeyValueOfintMWM4DetailXkNpho_P9> <d3p1:Key>2</d3p1:Key> <d3p1:Value> <aslp>11</aslp> <description>sample string 5</description> <itemNumber>sample string 2</itemNumber> <labelType>sample string 4</labelType> <material>sample string 7</material> <orderNumber>sample string 1</orderNumber> <pieces>10</pieces> <qty>9</qty> <secondaryItemNumber>sample string 3</secondaryItemNumber> <sequenceNumber>8</sequenceNumber> <size>sample string 6</size> <unitOfMeasure>sample string 12</unitOfMeasure> <unitWeight>13</unitWeight> </d3p1:Value> </d3p1:KeyValueOfintMWM4DetailXkNpho_P9> </labelDetails> <numberOfItems>27</numberOfItems> <orderNote>sample string 13</orderNote> <orderNote2>sample string 14</orderNote2> <orderNumber>sample string 1</orderNumber> <orderType>sample string 22</orderType> <programVersion>sample string 21</programVersion> <saves xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic"> <d3p1:_array /> <d3p1:_head>0</d3p1:_head> <d3p1:_size>0</d3p1:_size> <d3p1:_tail>0</d3p1:_tail> <d3p1:_version>0</d3p1:_version> </saves> <saving>false</saving> <shipToAddress1>sample string 4</shipToAddress1> <shipToAddress2>sample string 5</shipToAddress2> <shipToAddress3>sample string 6</shipToAddress3> <shipToCity>sample string 7</shipToCity> <shipToCountry>sample string 10</shipToCountry> <shipToEmail>sample string 12</shipToEmail> <shipToName>sample string 3</shipToName> <shipToState>sample string 8</shipToState> <shipToZip>sample string 9</shipToZip> <shiptophone>sample string 11</shiptophone> <sourceProgram>sample string 17</sourceProgram> <specialInstructions>sample string 15</specialInstructions> <termsCode>sample string 19</termsCode> </OrderObject> </VOPOrderWrapper>