getCustomerOrderEnhancedByPage
Retrieves all customer orders with the accompanying information by page number.
Query parameters
Retrieve orders with Catering Order Flag enabled (Y/N) - optional.
Code number of the Customer for orders to retrieve.
Code number for the Daypart to retrieve (optional).
Expected Delivery Date (DD-MMM-YY) for orders to retrieve (optional).
Use true to retrieve detailed information for one Customer Order at a time (optional).
Invoice Date (DD-MMM-YY) for orders to retrieve (optional).
The Code that identifies the Location in Crunchtime. Required if orderNumber, orderDate and customerCode not provided.
Order Date (DD-MMM-YY) for orders to retrieve. Required if Location Code, Order Number and Customer Code input not provided.
Order Number of order to retrieve. Required if Location Code, Customer Code and Order Date input not provided.
Order Status (SUBMITTED [18], PICKLISTED [19], INVOICED [2], CANCELED [4], FINAL RECONCILED [3]) for orders to retrieve (optional).
Can use status description or code number
Retrieve one or more records by pageNumber. \n Use to retrieve data in smaller chunks. \n If left blank, the default is 1.
Post Date (DD-MMM-YY) for orders to retrieve (optional).
Reference Number for order to retrieve (optional).
Revenue Center for transactions to retrieve (optional).
Number of items to display per page.
Specify 'true' to output null data elements.
Headers
Secure token for API authentication.
Password for the Crunchtime Application User.
Crunchtime site identifier. (test or production)
"User ID for the Crunchtime Application User.
Optional trace identifier for troubleshooting.
Response
Success
Example response
{
"customerOrderEnhancedDetails": [
{
"customerOrderEnhancedDetailDetails": [
{
"fillQuantity": 9999.9999,
"finalReconcileQuantity": 9999.9999,
"inventoryPrice": 0.37172525,
"invoiceQuantity": 9999.9999,
"orderQuantity": 1,
"productNumber": "PRD-53275742",
"storageLocationCode": "006",
"unitPrice": 9999.9999,
"storageLocationName": "BEER COOLER"
}
],
"customerOrderEnhancedHeaderDetails": {
"cateringOrder": "N",
"customerCode": "001",
"customerName": "BS Loc 1 50% Markup",
"dailyPrepDate": "06/30/2021",
"dailyPrepDescription": "Markup",
"daypartCode": 1,
"daypartDescription": "BREAKFAST",
"entryUser": "BSUSER1",
"expectedDeliveryDate": "05/04/2019",
"finalReconcileDate": "06/30/2021",
"finalReconcileUser": "BSUSER1",
"invoiceDate": "06/30/2021",
"invoiceUser": "BSUSER1",
"locationCode": "000000",
"locationName": "(BS)-QA Loc One",
"orderDate": "06/30/2021",
"orderNumber": "PROD",
"orderStatus": "INVOICED",
"postDate": "06/30/2021",
"revenueCenterDescription": "BAR"
}
}
]
}