GET api/Order/GetOrder/{id}/{CustomerID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
|
CustomerID | string |
Required |
Body Parameters
None.
Response Information
Resource Description
DataResultOfOrderName | Description | Type | Additional information |
---|---|---|---|
Value | RetVal |
None. |
|
Message | string |
None. |
|
Data | Order |
None. |
Response Formats
application/json, text/json
Sample:
{ "Value": 0, "Message": "sample string 1", "Data": { "Discount": 1.0, "Charges": 2.0, "OrderStatus": 3, "PONumber": "sample string 4", "OrderNumber": "sample string 5", "InvoiceNumber": "sample string 6", "SAPOrderNumber": "sample string 7", "DateStamp": "2024-11-21T10:01:32.8350372+00:00", "ShipDate": "2024-11-21T10:01:32.8350372+00:00", "DeliveryDate": "2024-11-21T10:01:32.8350372+00:00", "EstimatedArrivalTime": "2024-11-21T10:01:32.8350372+00:00", "ShipmentNumber": "sample string 9", "CarrierID": "sample string 10", "Carrier": "sample string 11", "Status": "sample string 12", "TotalOrderedWeight": 1.0, "TotalWeight": 1.0, "TotalInvoiceWeight": 1.0, "DateSubmitted": "2024-11-21T10:01:32.8350372+00:00", "OrderDetails": [ { "Discount": 1.0, "OrderId": "f20698de-1272-424a-9db5-f390d86f2d24", "ConfirmedQuantity": 3, "InvoicedQuantity": 4, "ConfirmedNetWeight": 5.0, "ConfirmedNetWeightUnit": "sample string 6", "InvoicedNetWeight": 7.0, "InvoicedNetWeightUnit": "sample string 8", "TotalConfirmedNetWeight": 9.0, "TotalConfirmedNetWeightUnit": "sample string 10", "TotalInvoicedNetWeight": 11.0, "TotalInvoicedNetWeightUnit": "sample string 12", "Price": 13.0, "Per": "sample string 14", "Charges": [ { "Type": "sample string 2", "Amount": 3.0, "InvoiceAmount": 4.0, "Description": "sample string 5" }, { "Type": "sample string 2", "Amount": 3.0, "InvoiceAmount": 4.0, "Description": "sample string 5" } ], "Discounts": [ { "Type": "sample string 2", "Amount": 3.0, "InvoiceAmount": 4.0, "Description": "sample string 5" }, { "Type": "sample string 2", "Amount": 3.0, "InvoiceAmount": 4.0, "Description": "sample string 5" } ], "TotalPrice": 15.0, "Id": "2440f4e2-eab6-45e2-8703-9912b921ba72", "UnitPrice": "sample string 17", "Quantity": 18, "MaterialID": "sample string 19", "Material": { "MaterialID": "sample string 1", "Description": "sample string 2", "Family": "sample string 3", "SubFamily": "sample string 4", "Brand": "sample string 5", "DisplayUPC": "sample string 6", "GTIN": "sample string 7", "ShelfLife": "sample string 8", "CodeDating": "sample string 9", "RefrigerationText": "sample string 10", "Establishment": "sample string 11", "Characteristics": "sample string 12", "Allergens": "sample string 13", "UMConversions": "sample string 14", "Package": "sample string 15", "Case": "sample string 16", "CaseWeightType": "sample string 17", "CaseWt": "sample string 18", "ShippingWt": "sample string 19", "Pallet": "sample string 20", "SellingRestriction": "sample string 21", "CaseUPC": "sample string 22", "ImageUrl": "sample string 23", "NutritionFactsUrl": "sample string 24", "SellingUnit": "sample string 25", "ConversionFactor": "sample string 26" }, "DateAdded": "2024-11-21T10:01:32.8350372+00:00" }, { "Discount": 1.0, "OrderId": "f20698de-1272-424a-9db5-f390d86f2d24", "ConfirmedQuantity": 3, "InvoicedQuantity": 4, "ConfirmedNetWeight": 5.0, "ConfirmedNetWeightUnit": "sample string 6", "InvoicedNetWeight": 7.0, "InvoicedNetWeightUnit": "sample string 8", "TotalConfirmedNetWeight": 9.0, "TotalConfirmedNetWeightUnit": "sample string 10", "TotalInvoicedNetWeight": 11.0, "TotalInvoicedNetWeightUnit": "sample string 12", "Price": 13.0, "Per": "sample string 14", "Charges": [ { "Type": "sample string 2", "Amount": 3.0, "InvoiceAmount": 4.0, "Description": "sample string 5" }, { "Type": "sample string 2", "Amount": 3.0, "InvoiceAmount": 4.0, "Description": "sample string 5" } ], "Discounts": [ { "Type": "sample string 2", "Amount": 3.0, "InvoiceAmount": 4.0, "Description": "sample string 5" }, { "Type": "sample string 2", "Amount": 3.0, "InvoiceAmount": 4.0, "Description": "sample string 5" } ], "TotalPrice": 15.0, "Id": "2440f4e2-eab6-45e2-8703-9912b921ba72", "UnitPrice": "sample string 17", "Quantity": 18, "MaterialID": "sample string 19", "Material": { "MaterialID": "sample string 1", "Description": "sample string 2", "Family": "sample string 3", "SubFamily": "sample string 4", "Brand": "sample string 5", "DisplayUPC": "sample string 6", "GTIN": "sample string 7", "ShelfLife": "sample string 8", "CodeDating": "sample string 9", "RefrigerationText": "sample string 10", "Establishment": "sample string 11", "Characteristics": "sample string 12", "Allergens": "sample string 13", "UMConversions": "sample string 14", "Package": "sample string 15", "Case": "sample string 16", "CaseWeightType": "sample string 17", "CaseWt": "sample string 18", "ShippingWt": "sample string 19", "Pallet": "sample string 20", "SellingRestriction": "sample string 21", "CaseUPC": "sample string 22", "ImageUrl": "sample string 23", "NutritionFactsUrl": "sample string 24", "SellingUnit": "sample string 25", "ConversionFactor": "sample string 26" }, "DateAdded": "2024-11-21T10:01:32.8350372+00:00" } ], "CustomerShipToID": "sample string 13", "CustomerBillToID": "sample string 14", "EDIStatus": "sample string 15", "Incoterms": "sample string 16", "InvoiceDate": "2024-11-21T10:01:32.8350372+00:00", "PaymentDueDate": "2024-11-21T10:01:32.8350372+00:00", "DeliveryNumber": "sample string 17", "PaymentTerms": "sample string 18", "InvoicedTotalDiscount": 19.0, "InvoicedTotalCharges": 20.0, "OrderStatusDescription": "sample string 21", "isLocked": true, "BillToAddress": "sample string 23", "ShipToAddress": "sample string 24", "TotalPrice": 25.0, "isMarketPrice": true, "Id": "9939fae1-5cb8-4363-8d48-579138308f35", "Comments": "sample string 28", "DateCreated": "2024-11-21T10:01:32.8350372+00:00", "DateModified": "2024-11-21T10:01:32.8350372+00:00" } }