POST api/{siteCode}/PurchaseOrder/Create
Creates the purchase order.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
siteCode |
The sitecode. |
integer |
Required |
Body Parameters
The purchase order object.
PurchaseOrderHeaderName | Description | Type | Additional information |
---|---|---|---|
OrderNumber | string |
Required String length: inclusive between 0 and 50 |
|
SplitNumber | integer |
None. |
|
OrderDate | date |
None. |
|
ConfirmationNumber | string |
String length: inclusive between 0 and 50 |
|
ConfirmationDate | date |
None. |
|
InvoiceNumber | string |
String length: inclusive between 0 and 50 |
|
InvoiceDate | date |
None. |
|
GoodsDescription | string |
String length: inclusive between 0 and 255 |
|
Currency | string |
String length: inclusive between 0 and 3 |
|
IncoTerms | string |
String length: inclusive between 0 and 50 |
|
IncoTermsDescription | string |
String length: inclusive between 0 and 50 |
|
Mode | string |
String length: inclusive between 0 and 50 |
|
OriginCountryCode | string |
String length: inclusive between 0 and 2 |
|
OriginCountryName | string |
String length: inclusive between 0 and 50 |
|
ServiceLevel | string |
String length: inclusive between 0 and 50 |
|
JobNumber | string |
String length: inclusive between 0 and 12 |
|
PreSplitOrderID | integer |
None. |
|
PreSplitOrderNumber | string |
String length: inclusive between 0 and 50 |
|
PreSplitSplitNumber | integer |
None. |
|
Complete | integer |
None. |
|
Owner | string |
String length: inclusive between 0 and 50 |
|
CreatedDate | date |
None. |
|
CompleteDate | date |
None. |
|
RequiredDate | date |
None. |
|
ExWorksDate | date |
None. |
|
QtyTolerance | decimal number |
None. |
|
Urgent | integer |
None. |
|
DivisionCode | string |
String length: inclusive between 0 and 50 |
|
OfficePrefix | string |
String length: inclusive between 0 and 5 |
|
Addresses | Collection of Address |
None. |
|
CriticalPaths | Collection of CriticalPath |
None. |
|
OrderItems | Collection of OrderItem |
None. |
|
OrderStatuses | Collection of OrderStatus |
None. |
|
Routes | Collection of Route |
None. |
|
OrderReferences | Collection of OrderReference |
None. |
Request Formats
application/json, text/json
{ "OrderNumber": "PO1234/1", "SplitNumber": null, "OrderDate": "2014-06-02T00:00:00", "ConfirmationNumber": "1234567890", "ConfirmationDate": null, "InvoiceNumber": "INV12345/12345", "InvoiceDate": "2014-01-06T00:00:00", "GoodsDescription": "Comfortable Furniture", "Currency": "USD", "IncoTerms": "FOB", "IncoTermsDescription": "Free On Board", "Mode": "Sea", "OriginCountryCode": "CN", "OriginCountryName": "China", "ServiceLevel": "Good and Cheap", "JobNumber": "HE1234", "PreSplitOrderID": null, "PreSplitOrderNumber": null, "PreSplitSplitNumber": null, "Complete": 0, "Owner": "Andy Newlands", "CreatedDate": "2014-05-09T00:00:00", "CompleteDate": "2014-06-23T00:00:00", "RequiredDate": "2014-07-09T00:00:00", "ExWorksDate": "2014-06-19T00:00:00", "QtyTolerance": 1.0, "Urgent": -1, "DivisionCode": "Furnishings", "OfficePrefix": "H", "Addresses": [ { "OrderID": null, "AccountNumber": null, "CompanyName": "Far East Trading Ltd", "Address1": "1st Floor Cervantes House", "Address2": "5-9 Headstone Road", "City": "Shanghai", "State": null, "PostalCode": "SH4 4HI", "CountryCode": "CN", "CountryName": "China", "TaxNumber": null, "Title": "Mr", "FirstName": "Hoo", "LastName": "Ru", "Phone": "020 8400 2000", "Email": "whatsth@toverthere.cn", "Vendor": -1, "Consignee": null, "Customer": null, "Agent": null }, { "OrderID": null, "AccountNumber": "ANDYSI", "CompanyName": "Andys Import Emporium", "Address1": "The Old Bike Shed", "Address2": "Longfellow Street", "City": "Addlestone", "State": "Surrey", "PostalCode": "KT15 1NS", "CountryCode": "GB", "CountryName": "UNITED KINGDOM", "TaxNumber": "GB123456789", "Title": "Mr", "FirstName": "T", "LastName": "Veedinner", "Phone": "020 8400 2000", "Email": "TVeedinner@laptrays.com", "Vendor": null, "Consignee": null, "Customer": -1, "Agent": null }, { "OrderID": null, "AccountNumber": "ANDYSANA", "CompanyName": "Andys Analysis Shop", "Address1": "Andys House", "Address2": "Andys Avenue", "City": "Andys City", "State": "Andys County", "PostalCode": "AND1 Ne1", "CountryCode": "GB", "CountryName": "UNITED KINGDOM", "TaxNumber": "GB123456780", "Title": "Mr", "FirstName": "Frank", "LastName": "Enfurter", "Phone": "02084002000", "Email": "frankenfurter@hotdog.com", "Vendor": null, "Consignee": -1, "Customer": null, "Agent": null } ], "CriticalPaths": [ { "OrderID": null, "ProfileName": "Test Profile 1", "Path": "Purchase Order Issued", "CriticalPathDays": -1, "AnchorPoint": 0, "MilestoneLink": "Order Placed", "EstimatedDate": "2014-06-02T00:00:00", "ScheduledDate": null, "ActualDate": null, "Tolerance": 1, "ProblemCode": null, "ProblemName": null, "ProblemNotes": null }, { "OrderID": null, "ProfileName": null, "Path": "Purchase Order Confirmed", "CriticalPathDays": -2, "AnchorPoint": 0, "MilestoneLink": null, "EstimatedDate": "2014-06-05T00:00:00", "ScheduledDate": null, "ActualDate": null, "Tolerance": 1, "ProblemCode": null, "ProblemName": null, "ProblemNotes": null }, { "OrderID": null, "ProfileName": null, "Path": "Production Check 1", "CriticalPathDays": -7, "AnchorPoint": 0, "MilestoneLink": null, "EstimatedDate": "2014-06-05T00:00:00", "ScheduledDate": null, "ActualDate": null, "Tolerance": 2, "ProblemCode": null, "ProblemName": null, "ProblemNotes": null }, { "OrderID": null, "ProfileName": null, "Path": "Production Check 2", "CriticalPathDays": -7, "AnchorPoint": 0, "MilestoneLink": null, "EstimatedDate": "2014-06-12T00:00:00", "ScheduledDate": null, "ActualDate": null, "Tolerance": 2, "ProblemCode": null, "ProblemName": null, "ProblemNotes": null }, { "OrderID": null, "ProfileName": null, "Path": "Production Complete", "CriticalPathDays": 0, "AnchorPoint": 0, "MilestoneLink": null, "EstimatedDate": "2014-06-19T00:00:00", "ScheduledDate": null, "ActualDate": null, "Tolerance": null, "ProblemCode": null, "ProblemName": null, "ProblemNotes": null }, { "OrderID": null, "ProfileName": "Test Profile 1", "Path": "Ex-Works", "CriticalPathDays": 0, "AnchorPoint": -1, "MilestoneLink": "Pickup", "EstimatedDate": "2014-06-19T00:00:00", "ScheduledDate": null, "ActualDate": null, "Tolerance": 2, "ProblemCode": null, "ProblemName": null, "ProblemNotes": null }, { "OrderID": null, "ProfileName": "Test Profile 1", "Path": "Received at Origin Depot", "CriticalPathDays": 1, "AnchorPoint": 0, "MilestoneLink": null, "EstimatedDate": "2014-06-20T00:00:00", "ScheduledDate": null, "ActualDate": null, "Tolerance": null, "ProblemCode": null, "ProblemName": null, "ProblemNotes": null }, { "OrderID": null, "ProfileName": null, "Path": "On-Hand", "CriticalPathDays": 1, "AnchorPoint": 0, "MilestoneLink": null, "EstimatedDate": "2014-06-21T00:00:00", "ScheduledDate": null, "ActualDate": null, "Tolerance": null, "ProblemCode": null, "ProblemName": null, "ProblemNotes": null }, { "OrderID": null, "ProfileName": null, "Path": "Loaded in Container", "CriticalPathDays": 3, "AnchorPoint": 0, "MilestoneLink": "Closing", "EstimatedDate": "2014-06-24T00:00:00", "ScheduledDate": null, "ActualDate": null, "Tolerance": null, "ProblemCode": null, "ProblemName": null, "ProblemNotes": null }, { "OrderID": null, "ProfileName": null, "Path": "Cleared Customs", "CriticalPathDays": 2, "AnchorPoint": 0, "MilestoneLink": "Available Delivery", "EstimatedDate": "2014-06-26T00:00:00", "ScheduledDate": null, "ActualDate": null, "Tolerance": 3, "ProblemCode": null, "ProblemName": null, "ProblemNotes": null }, { "OrderID": null, "ProfileName": null, "Path": "Arrived Destination", "CriticalPathDays": 15, "AnchorPoint": 0, "MilestoneLink": "Arrival", "EstimatedDate": "2014-07-11T00:00:00", "ScheduledDate": null, "ActualDate": null, "Tolerance": null, "ProblemCode": null, "ProblemName": null, "ProblemNotes": null }, { "OrderID": null, "ProfileName": null, "Path": "Container Available", "CriticalPathDays": 5, "AnchorPoint": 0, "MilestoneLink": null, "EstimatedDate": "2014-07-16T00:00:00", "ScheduledDate": null, "ActualDate": null, "Tolerance": null, "ProblemCode": null, "ProblemName": null, "ProblemNotes": null }, { "OrderID": null, "ProfileName": null, "Path": "Passed To Trucker", "CriticalPathDays": 1, "AnchorPoint": 0, "MilestoneLink": null, "EstimatedDate": "2014-07-17T00:00:00", "ScheduledDate": null, "ActualDate": null, "Tolerance": 1, "ProblemCode": null, "ProblemName": null, "ProblemNotes": null }, { "OrderID": null, "ProfileName": null, "Path": "Delivered", "CriticalPathDays": 1, "AnchorPoint": 0, "MilestoneLink": "Delivery", "EstimatedDate": "2014-07-18T00:00:00", "ScheduledDate": null, "ActualDate": null, "Tolerance": null, "ProblemCode": null, "ProblemName": null, "ProblemNotes": null } ], "OrderItems": [ { "OrderID": null, "StockDescID": null, "SKUID": null, "StockCode": "Furniture", "SKUName": "Single Armchair", "SKUNumber": "0987890", "SKUComposite": "0987890=Red=Leather=4=1", "DescHead1": "Colour", "Desc1": "Red", "DescHead2": "Fabric", "Desc2": "Leather", "DescHead3": "Casters", "Desc3": "4", "DescHead4": "Seats", "Desc4": "1", "DescHead5": null, "Desc5": null, "DescHead6": null, "Desc6": null, "SerialBatchNo": null, "WHSKUItem": -1, "SplitIndicator": -1, "Split": 0, "StatusCode": null, "StatusName": null, "OrderItemQuantites": [ { "OrderItemID": null, "OuterPacks": 1, "InnerPacks": 2, "TotalInnerPacks": 2, "Quantity": 20, "QtyInvoiced": 20, "QtyReceived": 19, "QtyRemaining": 1, "QtyDelivered": 19, "OrderUnitCode": "OrderUnitCode", "OrderUnitName": "OrderUnitName", "ItemPrice": 197.0, "TotalLinePrice": 3940.0, "QtyTolerance": 0.0, "UnitOfVolume": "CBM", "ExpectedVolume": 25.0, "ActualVolume": 23.75, "UnitOfWeight": "Kgs", "ExpectedWeight": 300.0, "ActualWeight": 285.0 } ] }, { "OrderID": null, "StockDescID": null, "SKUID": null, "StockCode": "Furniture", "SKUName": "Corner Seat", "SKUNumber": "7654567", "SKUComposite": "7654567=Black=Leather=9=3", "DescHead1": "Colour", "Desc1": "Black", "DescHead2": "Fabric", "Desc2": "Leather", "DescHead3": "Casters", "Desc3": "9", "DescHead4": "Seats", "Desc4": "3", "DescHead5": null, "Desc5": null, "DescHead6": null, "Desc6": null, "SerialBatchNo": null, "WHSKUItem": -1, "SplitIndicator": 0, "Split": 0, "StatusCode": null, "StatusName": null, "OrderItemQuantites": [ { "OrderItemID": null, "OuterPacks": 20, "InnerPacks": 1, "TotalInnerPacks": 20, "Quantity": 20, "QtyInvoiced": 20, "QtyReceived": 20, "QtyRemaining": 0, "QtyDelivered": 20, "OrderUnitCode": "OrderUnitCode", "OrderUnitName": "OrderUnitName", "ItemPrice": 400.0, "TotalLinePrice": 8000.0, "QtyTolerance": 0.0, "UnitOfVolume": "CBM", "ExpectedVolume": 40.0, "ActualVolume": 40.0, "UnitOfWeight": "Kgs", "ExpectedWeight": 400.0, "ActualWeight": 400.0 } ] } ], "OrderStatuses": [ { "OrderID": 0, "StatusCode": "DLV", "StatusName": "Delivered", "StatusNotes": null, "UserName": "Andy Newlands", "CreatedDate": "2014-06-23T00:00:00" } ], "Routes": [ { "OrderID": null, "OriginPlaceName": null, "OriginPlaceLocode": null, "OriginPortName": "SHANGHAI CITY (CNSHA)", "OriginPortLocode": "CNSHA", "OriginPortIata": "SHA", "OriginCountryName": "CHINA", "OriginCountryCode": "CN", "OriginRegionName": "Eastern Asia", "OriginRegionCode": "30", "OriginLocationSwitch": "SHANGHAI CITY (CNSHA)", "OriginLocationCodeSwitch": "CNSHA", "DestinationPlaceName": "SOUTHAMPTON (GBSOU)", "DestinationPlaceLocode": "GBSOU", "DestinationPortName": "SOUTHAMPTON (GBSOU)", "DestinationPortLocode": "GBSOU", "DestinationPortIata": "SOU", "DestinationCountryName": "UNITED KINGDOM", "DestinationCountryCode": "GB", "DestinationRegionName": "Northern Europe", "DestinationRegionCode": "154", "DestinationLocationSwitch": "SOUTHAMPTON (GBSOU)", "DestinationLocationCodeSwitch": "GBSOU" } ], "OrderReferences": [ { "OrderID": 0, "Reference": "ABCD1234", "ReferenceDescription": "Sales Order#" }, { "OrderID": 0, "Reference": "1234ABCD", "ReferenceDescription": "Customer Ref" } ] }
application/xml, text/xml
<PurchaseOrderHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ID>0</ID> <OrderNumber>PO1234/1</OrderNumber> <SplitNumber xsi:nil="true" /> <OrderDate>2014-06-02T00:00:00</OrderDate> <ConfirmationNumber>1234567890</ConfirmationNumber> <ConfirmationDate xsi:nil="true" /> <InvoiceNumber>INV12345/12345</InvoiceNumber> <InvoiceDate>2014-01-06T00:00:00</InvoiceDate> <GoodsDescription>Comfortable Furniture</GoodsDescription> <Currency>USD</Currency> <IncoTerms>FOB</IncoTerms> <IncoTermsDescription>Free On Board</IncoTermsDescription> <Mode>Sea</Mode> <OriginCountryCode>CN</OriginCountryCode> <OriginCountryName>China</OriginCountryName> <ServiceLevel>Good and Cheap</ServiceLevel> <JobNumber>HE1234</JobNumber> <PreSplitOrderID xsi:nil="true" /> <PreSplitSplitNumber xsi:nil="true" /> <Complete>0</Complete> <Owner>Andy Newlands</Owner> <CreatedDate>2014-05-09T00:00:00</CreatedDate> <CompleteDate>2014-06-23T00:00:00</CompleteDate> <RequiredDate>2014-07-09T00:00:00</RequiredDate> <ExWorksDate>2014-06-19T00:00:00</ExWorksDate> <QtyTolerance>1</QtyTolerance> <Urgent>-1</Urgent> <DivisionCode>Furnishings</DivisionCode> <OfficePrefix>H</OfficePrefix> <JobDataID xsi:nil="true" /> <Addresses> <Address> <ID>0</ID> <AddressID xsi:nil="true" /> <OrderID xsi:nil="true" /> <CompanyName>Far East Trading Ltd</CompanyName> <Address1>1st Floor Cervantes House</Address1> <Address2>5-9 Headstone Road</Address2> <City>Shanghai</City> <PostalCode>SH4 4HI</PostalCode> <CountryCode>CN</CountryCode> <CountryName>China</CountryName> <Title>Mr</Title> <FirstName>Hoo</FirstName> <LastName>Ru</LastName> <Phone>020 8400 2000</Phone> <Email>whatsth@toverthere.cn</Email> <Vendor>-1</Vendor> <Consignee xsi:nil="true" /> <Customer xsi:nil="true" /> <Agent xsi:nil="true" /> </Address> <Address> <ID>0</ID> <AddressID xsi:nil="true" /> <OrderID xsi:nil="true" /> <AccountNumber>ANDYSI</AccountNumber> <CompanyName>Andys Import Emporium</CompanyName> <Address1>The Old Bike Shed</Address1> <Address2>Longfellow Street</Address2> <City>Addlestone</City> <State>Surrey</State> <PostalCode>KT15 1NS</PostalCode> <CountryCode>GB</CountryCode> <CountryName>UNITED KINGDOM</CountryName> <TaxNumber>GB123456789</TaxNumber> <Title>Mr</Title> <FirstName>T</FirstName> <LastName>Veedinner</LastName> <Phone>020 8400 2000</Phone> <Email>TVeedinner@laptrays.com</Email> <Vendor xsi:nil="true" /> <Consignee xsi:nil="true" /> <Customer>-1</Customer> <Agent xsi:nil="true" /> </Address> <Address> <ID>0</ID> <AddressID xsi:nil="true" /> <OrderID xsi:nil="true" /> <AccountNumber>ANDYSANA</AccountNumber> <CompanyName>Andys Analysis Shop</CompanyName> <Address1>Andys House</Address1> <Address2>Andys Avenue</Address2> <City>Andys City</City> <State>Andys County</State> <PostalCode>AND1 Ne1</PostalCode> <CountryCode>GB</CountryCode> <CountryName>UNITED KINGDOM</CountryName> <TaxNumber>GB123456780</TaxNumber> <Title>Mr</Title> <FirstName>Frank</FirstName> <LastName>Enfurter</LastName> <Phone>02084002000</Phone> <Email>frankenfurter@hotdog.com</Email> <Vendor xsi:nil="true" /> <Consignee>-1</Consignee> <Customer xsi:nil="true" /> <Agent xsi:nil="true" /> </Address> </Addresses> <CriticalPaths> <CriticalPath> <ID>0</ID> <OrderID xsi:nil="true" /> <ProfileName>Test Profile 1</ProfileName> <Path>Purchase Order Issued</Path> <CriticalPathDays>-1</CriticalPathDays> <AnchorPoint>0</AnchorPoint> <MilestoneLink>Order Placed</MilestoneLink> <EstimatedDate>2014-06-02T00:00:00</EstimatedDate> <ScheduledDate xsi:nil="true" /> <ActualDate xsi:nil="true" /> <Tolerance>1</Tolerance> </CriticalPath> <CriticalPath> <ID>0</ID> <OrderID xsi:nil="true" /> <Path>Purchase Order Confirmed</Path> <CriticalPathDays>-2</CriticalPathDays> <AnchorPoint>0</AnchorPoint> <EstimatedDate>2014-06-05T00:00:00</EstimatedDate> <ScheduledDate xsi:nil="true" /> <ActualDate xsi:nil="true" /> <Tolerance>1</Tolerance> </CriticalPath> <CriticalPath> <ID>0</ID> <OrderID xsi:nil="true" /> <Path>Production Check 1</Path> <CriticalPathDays>-7</CriticalPathDays> <AnchorPoint>0</AnchorPoint> <EstimatedDate>2014-06-05T00:00:00</EstimatedDate> <ScheduledDate xsi:nil="true" /> <ActualDate xsi:nil="true" /> <Tolerance>2</Tolerance> </CriticalPath> <CriticalPath> <ID>0</ID> <OrderID xsi:nil="true" /> <Path>Production Check 2</Path> <CriticalPathDays>-7</CriticalPathDays> <AnchorPoint>0</AnchorPoint> <EstimatedDate>2014-06-12T00:00:00</EstimatedDate> <ScheduledDate xsi:nil="true" /> <ActualDate xsi:nil="true" /> <Tolerance>2</Tolerance> </CriticalPath> <CriticalPath> <ID>0</ID> <OrderID xsi:nil="true" /> <Path>Production Complete</Path> <CriticalPathDays>0</CriticalPathDays> <AnchorPoint>0</AnchorPoint> <EstimatedDate>2014-06-19T00:00:00</EstimatedDate> <ScheduledDate xsi:nil="true" /> <ActualDate xsi:nil="true" /> <Tolerance xsi:nil="true" /> </CriticalPath> <CriticalPath> <ID>0</ID> <OrderID xsi:nil="true" /> <ProfileName>Test Profile 1</ProfileName> <Path>Ex-Works</Path> <CriticalPathDays>0</CriticalPathDays> <AnchorPoint>-1</AnchorPoint> <MilestoneLink>Pickup</MilestoneLink> <EstimatedDate>2014-06-19T00:00:00</EstimatedDate> <ScheduledDate xsi:nil="true" /> <ActualDate xsi:nil="true" /> <Tolerance>2</Tolerance> </CriticalPath> <CriticalPath> <ID>0</ID> <OrderID xsi:nil="true" /> <ProfileName>Test Profile 1</ProfileName> <Path>Received at Origin Depot</Path> <CriticalPathDays>1</CriticalPathDays> <AnchorPoint>0</AnchorPoint> <EstimatedDate>2014-06-20T00:00:00</EstimatedDate> <ScheduledDate xsi:nil="true" /> <ActualDate xsi:nil="true" /> <Tolerance xsi:nil="true" /> </CriticalPath> <CriticalPath> <ID>0</ID> <OrderID xsi:nil="true" /> <Path>On-Hand</Path> <CriticalPathDays>1</CriticalPathDays> <AnchorPoint>0</AnchorPoint> <EstimatedDate>2014-06-21T00:00:00</EstimatedDate> <ScheduledDate xsi:nil="true" /> <ActualDate xsi:nil="true" /> <Tolerance xsi:nil="true" /> </CriticalPath> <CriticalPath> <ID>0</ID> <OrderID xsi:nil="true" /> <Path>Loaded in Container</Path> <CriticalPathDays>3</CriticalPathDays> <AnchorPoint>0</AnchorPoint> <MilestoneLink>Closing</MilestoneLink> <EstimatedDate>2014-06-24T00:00:00</EstimatedDate> <ScheduledDate xsi:nil="true" /> <ActualDate xsi:nil="true" /> <Tolerance xsi:nil="true" /> </CriticalPath> <CriticalPath> <ID>0</ID> <OrderID xsi:nil="true" /> <Path>Cleared Customs</Path> <CriticalPathDays>2</CriticalPathDays> <AnchorPoint>0</AnchorPoint> <MilestoneLink>Available Delivery</MilestoneLink> <EstimatedDate>2014-06-26T00:00:00</EstimatedDate> <ScheduledDate xsi:nil="true" /> <ActualDate xsi:nil="true" /> <Tolerance>3</Tolerance> </CriticalPath> <CriticalPath> <ID>0</ID> <OrderID xsi:nil="true" /> <Path>Arrived Destination</Path> <CriticalPathDays>15</CriticalPathDays> <AnchorPoint>0</AnchorPoint> <MilestoneLink>Arrival</MilestoneLink> <EstimatedDate>2014-07-11T00:00:00</EstimatedDate> <ScheduledDate xsi:nil="true" /> <ActualDate xsi:nil="true" /> <Tolerance xsi:nil="true" /> </CriticalPath> <CriticalPath> <ID>0</ID> <OrderID xsi:nil="true" /> <Path>Container Available</Path> <CriticalPathDays>5</CriticalPathDays> <AnchorPoint>0</AnchorPoint> <EstimatedDate>2014-07-16T00:00:00</EstimatedDate> <ScheduledDate xsi:nil="true" /> <ActualDate xsi:nil="true" /> <Tolerance xsi:nil="true" /> </CriticalPath> <CriticalPath> <ID>0</ID> <OrderID xsi:nil="true" /> <Path>Passed To Trucker</Path> <CriticalPathDays>1</CriticalPathDays> <AnchorPoint>0</AnchorPoint> <EstimatedDate>2014-07-17T00:00:00</EstimatedDate> <ScheduledDate xsi:nil="true" /> <ActualDate xsi:nil="true" /> <Tolerance>1</Tolerance> </CriticalPath> <CriticalPath> <ID>0</ID> <OrderID xsi:nil="true" /> <Path>Delivered</Path> <CriticalPathDays>1</CriticalPathDays> <AnchorPoint>0</AnchorPoint> <MilestoneLink>Delivery</MilestoneLink> <EstimatedDate>2014-07-18T00:00:00</EstimatedDate> <ScheduledDate xsi:nil="true" /> <ActualDate xsi:nil="true" /> <Tolerance xsi:nil="true" /> </CriticalPath> </CriticalPaths> <OrderItems> <OrderItem> <ID>0</ID> <OrderID xsi:nil="true" /> <StockDescID xsi:nil="true" /> <SKUID xsi:nil="true" /> <StockCode>Furniture</StockCode> <SKUName>Single Armchair</SKUName> <SKUNumber>0987890</SKUNumber> <SKUComposite>0987890=Red=Leather=4=1</SKUComposite> <DescHead1>Colour</DescHead1> <Desc1>Red</Desc1> <DescHead2>Fabric</DescHead2> <Desc2>Leather</Desc2> <DescHead3>Casters</DescHead3> <Desc3>4</Desc3> <DescHead4>Seats</DescHead4> <Desc4>1</Desc4> <WHSKUItem>-1</WHSKUItem> <SplitIndicator>-1</SplitIndicator> <Split>0</Split> <OrderItemQuantites> <OrderItemsQty> <ID>0</ID> <OrderItemID xsi:nil="true" /> <OuterPacks>1</OuterPacks> <InnerPacks>2</InnerPacks> <TotalInnerPacks>2</TotalInnerPacks> <Quantity>20</Quantity> <QtyInvoiced>20</QtyInvoiced> <QtyReceived>19</QtyReceived> <QtyRemaining>1</QtyRemaining> <QtyDelivered>19</QtyDelivered> <OrderUnitCode>OrderUnitCode</OrderUnitCode> <OrderUnitName>OrderUnitName</OrderUnitName> <ItemPrice>197.00</ItemPrice> <TotalLinePrice>3940.00</TotalLinePrice> <QtyTolerance>0</QtyTolerance> <UnitOfVolume>CBM</UnitOfVolume> <ExpectedVolume>25</ExpectedVolume> <ActualVolume>23.75</ActualVolume> <UnitOfWeight>Kgs</UnitOfWeight> <ExpectedWeight>300</ExpectedWeight> <ActualWeight>285</ActualWeight> </OrderItemsQty> </OrderItemQuantites> </OrderItem> <OrderItem> <ID>0</ID> <OrderID xsi:nil="true" /> <StockDescID xsi:nil="true" /> <SKUID xsi:nil="true" /> <StockCode>Furniture</StockCode> <SKUName>Corner Seat</SKUName> <SKUNumber>7654567</SKUNumber> <SKUComposite>7654567=Black=Leather=9=3</SKUComposite> <DescHead1>Colour</DescHead1> <Desc1>Black</Desc1> <DescHead2>Fabric</DescHead2> <Desc2>Leather</Desc2> <DescHead3>Casters</DescHead3> <Desc3>9</Desc3> <DescHead4>Seats</DescHead4> <Desc4>3</Desc4> <WHSKUItem>-1</WHSKUItem> <SplitIndicator>0</SplitIndicator> <Split>0</Split> <OrderItemQuantites> <OrderItemsQty> <ID>0</ID> <OrderItemID xsi:nil="true" /> <OuterPacks>20</OuterPacks> <InnerPacks>1</InnerPacks> <TotalInnerPacks>20</TotalInnerPacks> <Quantity>20</Quantity> <QtyInvoiced>20</QtyInvoiced> <QtyReceived>20</QtyReceived> <QtyRemaining>0</QtyRemaining> <QtyDelivered>20</QtyDelivered> <OrderUnitCode>OrderUnitCode</OrderUnitCode> <OrderUnitName>OrderUnitName</OrderUnitName> <ItemPrice>400.0000</ItemPrice> <TotalLinePrice>8000.0000</TotalLinePrice> <QtyTolerance>0</QtyTolerance> <UnitOfVolume>CBM</UnitOfVolume> <ExpectedVolume>40</ExpectedVolume> <ActualVolume>40</ActualVolume> <UnitOfWeight>Kgs</UnitOfWeight> <ExpectedWeight>400</ExpectedWeight> <ActualWeight>400</ActualWeight> </OrderItemsQty> </OrderItemQuantites> </OrderItem> </OrderItems> <OrderStatuses> <OrderStatus> <ID>0</ID> <OrderID>0</OrderID> <StatusCode>DLV</StatusCode> <StatusName>Delivered</StatusName> <UserName>Andy Newlands</UserName> <CreatedDate>2014-06-23T00:00:00</CreatedDate> </OrderStatus> </OrderStatuses> <Routes> <Route> <ID>0</ID> <OrderID xsi:nil="true" /> <OriginPortName>SHANGHAI CITY (CNSHA)</OriginPortName> <OriginPortLocode>CNSHA</OriginPortLocode> <OriginPortIata>SHA</OriginPortIata> <OriginCountryName>CHINA</OriginCountryName> <OriginCountryCode>CN</OriginCountryCode> <OriginRegionName>Eastern Asia</OriginRegionName> <OriginRegionCode>30</OriginRegionCode> <OriginLocationSwitch>SHANGHAI CITY (CNSHA)</OriginLocationSwitch> <OriginLocationCodeSwitch>CNSHA</OriginLocationCodeSwitch> <DestinationPlaceName>SOUTHAMPTON (GBSOU)</DestinationPlaceName> <DestinationPlaceLocode>GBSOU</DestinationPlaceLocode> <DestinationPortName>SOUTHAMPTON (GBSOU)</DestinationPortName> <DestinationPortLocode>GBSOU</DestinationPortLocode> <DestinationPortIata>SOU</DestinationPortIata> <DestinationCountryName>UNITED KINGDOM</DestinationCountryName> <DestinationCountryCode>GB</DestinationCountryCode> <DestinationRegionName>Northern Europe</DestinationRegionName> <DestinationRegionCode>154</DestinationRegionCode> <DestinationLocationSwitch>SOUTHAMPTON (GBSOU)</DestinationLocationSwitch> <DestinationLocationCodeSwitch>GBSOU</DestinationLocationCodeSwitch> </Route> </Routes> <OrderReferences> <OrderReference> <ID>0</ID> <OrderID>0</OrderID> <Reference>ABCD1234</Reference> <ReferenceDescription>Sales Order#</ReferenceDescription> </OrderReference> <OrderReference> <ID>0</ID> <OrderID>0</OrderID> <Reference>1234ABCD</Reference> <ReferenceDescription>Customer Ref</ReferenceDescription> </OrderReference> </OrderReferences> </PurchaseOrderHeader>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |