Get order channel daily totals

post

/bi/v1/{orgIdentifier}/getOrderChannelDailyTotals

The API gets the Order Channel Daily Totals for a specified location and business date.

Request

Path Parameters
Body ()
The request body defines the details of the API request.
Root Schema : requestPayload
Type: object
Request payload
Show Source
  • Title: Application Name
    Maximum Length: 128
    The name of the application which is accessing the API.

    First Available Version: 20.1.10

  • Title: Business Date
    The business date associated with the cash management detail
  • Title: Include
    Maximum Length: 2000
    List of objects to include in response
  • Title: Location Reference
    Maximum Length: 99
    The location reference, this may be a store number or name depending on the organization
  • Title: Search Criteria
    Maximum Length: 2000
    Search criteria to filter results based on field value
Back to Top

Response

Supported Media Types

200 Response

OK
Body ()
Root Schema : ocDailyTotals
Type: object
The response body contains information about the daily operational totals by order channels for the specified location and business date.
Show Source
Nested Schema : revenueCenters
Type: array
An array of order channel daily totals by revenue centers
Show Source
Nested Schema : ocDailyTotalsByRVC
Type: object
The response body contains daily operational totals by order channels at a revenue center for the specified location and business date.
Show Source
  • orderChannels
    An array of daily operational totals by order channels for a revenue center. This attribute will not be returned in the response if value is null.

    First available version 20.1.15

  • Title: Revenue Center Number
    Maximum Length: 10
    Revenue Center number. This attribute will not be returned in the response if orderChannels is null
Nested Schema : orderChannels
Type: array
An array of daily operational totals by order channels for a revenue center. This attribute will not be returned in the response if value is null.

First available version 20.1.15

Show Source
  • ocDailyTotal
    The response body contains daily operational totals by order channel for a revenue center for the specified location and business date.
Nested Schema : ocDailyTotal
Type: object
The response body contains daily operational totals by order channel for a revenue center for the specified location and business date.
Show Source
  • Title: Check Closed Count
    Maximum Length: 16
    Number of checks that were were closed in the day
  • Title: Check Count
    Maximum Length: 16
    Total number of checks for the day. This attribute will not be returned in the response if value is 0 or null
  • Title: Check Open Count
    Maximum Length: 16
    Number of checks that were were rung in the day which remain in open state
  • Title: Dine Time in minutes
    Maximum Length: 16
    Total dining time for the day in minutes. This attribute will not be returned in the response if value is 0 or null
  • Title: Item Discount Total
    Total of item discounts for the day. This attribute will not be returned in the response if value is 0 or null
  • Title: Error Correct Count
    Maximum Length: 16
    Number of items which were error corrected for the day. This attribute will not be returned in the response if value is 0 or null
  • Title: Error Correct Total
    Total of items which were error corrected for the day. This attribute will not be returned in the response if value is 0 or null
  • Title: Guest Count
    Maximum Length: 16
    Total number of guests for the day. This attribute will not be returned in the response if value is 0 or null
  • Title: Manager Void Count
    Maximum Length: 16
    Number of items which were voided by the manager of the employee. This attribute will not be returned in the response if value is 0 or null
  • Title: Manager Void Total
    Total items which were voided by the manager of the employee. This attribute will not be returned in the response if value is 0 or null
  • Title: Net Sales Total
    Total of net sales for the day
  • Title: Non Revenue Service Charge Total
    Non-revenue service charge, and non-revenue menu item total. This attribute will not be returned in the response if value is 0 or null
  • Title: Order Channel number
    Maximum Length: 16
    Unique identifier of the order channel. This attribute will not be returned in the response if value is 0 or null.

    First available version 20.1.15

  • Title: Order Type Number
    Maximum Length: 16
    Order Type number
  • Title: Parked Car Count
    Maximum Length: 16
    Total number of cars parked for the day. This attribute will not be returned in the response if value is 0 or null
  • Title: Prepartion Cost total
    Total of preparation cost for the day. This attribute will not be returned in the response if value is 0 or null
  • Title: Return Count
    Maximum Length: 16
    Total number of items returned in the day. This attribute will not be returned in the response if value is 0 or null
  • Title: Return Total
    Total value of returned items for the day. This attribute will not be returned in the response if value is 0 or null
  • Title: SOS Time 1
    Maximum Length: 16
    SOS time 1. This attribute will not be returned in the response if value is 0 or null
  • Title: SOS Time 2
    Maximum Length: 16
    SOS time 2. This attribute will not be returned in the response if value is 0 or null
  • Title: SOS Time 3
    Maximum Length: 16
    SOS time 3. This attribute will not be returned in the response if value is 0 or null
  • Title: SOS Time 4
    Maximum Length: 16
    SOS time 4. This attribute will not be returned in the response if value is 0 or null
  • Title: Service Charge Total
    Total of service charges for the day. This attribute will not be returned in the response if value is 0 or null
  • Title: Tax Collected Total
    Total of tax collected for the day. This attribute will not be returned in the response if value is 0 or null
  • Title: Tax Credited Total
    Tax credit totals (negative transactions with tax) for the day. This attribute will not be returned in the response if value is 0 or null
  • Title: Table Turn Count
    Maximum Length: 16
    Total number of tables turns for the day. This attribute will not be returned in the response if value is 0 or null
  • Title: Transaction Cancel Count
    Maximum Length: 16
    Number of transactions that were cancelled for the day. This attribute will not be returned in the response if value is 0 or null
  • Title: Transaction Cancel Total
    Total of transactions that were cancelled for the day. This attribute will not be returned in the response if value is 0 or null
  • Title: Void Count
    Maximum Length: 16
    Number of items voided for the day. This attribute will not be returned in the response if value is 0 or null
  • Title: Void Total
    Total of items voided for the day. This attribute will not be returned in the response if value is 0 or null

400 Response

Bad Request
Body ()
Root Schema : exceptionDetailType
Type: object
Error details
Show Source

401 Response

Unauthorized
Body ()
Root Schema : exceptionDetailType
Type: object
Error details
Show Source

403 Response

Service Unavailable
Body ()
Root Schema : exceptionDetailType
Type: object
Error details
Show Source

404 Response

Resource Not Found
Body ()
Root Schema : exceptionDetailType
Type: object
Error details
Show Source

Default Response

Unexpected Error
Body ()
Root Schema : exceptionDetailType
Type: object
Error details
Show Source
Back to Top

Examples

The following example shows how to view all the order type daily totals for a specified location & business date by submitting a POST request on the REST resource using cURL. For more information, see Use cURL

curl -i -X POST -H "Authorization: Bearer 
  
   " -H "Content-Type:application/json" -d {"locRef":"1234","busDt":"2020-10-20"} https://baseurl/bi/v1/orgidentifier/getOrderChannelDailyTotals 
  

Example of Response Header

The following shows an example of the response header.

HTTP/1.1 200 OK  Date: Tue, 20 Oct 2020 21:24:33 GMT  Transfer-Encoding: chunked  Content-Type: application/json

Example of Response Body

The following example shows the contents of the response body in JSON format:

{
 "locRef": "1234",
 "busDt": "2020-07-20",
 "revenueCenters":[{
  "rvcNum": 1372,
  "orderChannels": [{
   "ocNum": 2,
   "otNum": 12345,
   "netSlsTtl": 1234.56,
   "dscTtl": 1234.56,
   "svcTtl": 1234.56,
   "nonRevSvcTtl": 1234.56,
   "taxColTtl": 1234.56,
   "taxCredTtl": 1234.56,
   "prepCost": 1234.56,
   "rtrnCnt": 123,
   "rtrnTtl": 1234.56,
   "chkCnt": 123, 
   "gstCnt": 123,
   "tblTurnCnt": 123,
   "dineTimeInMins": 34,
   "parkCarCnt": 123,
   "vdTtl": 1234.56,
   "vdCnt": 123,
   "errCorTtl": 1234.56,
   "errCorCnt": 123,
   "mngrVdTtl": 1234.56,
   "mngrVdCnt": 123,
   "transCnclTtl": 123.45,
   "transCnclCnt": 1,
   "chkOpnCnt": 1234,
   "chkClsdCnt": 1234,
   "sosTime1": 1234,
   "sosTime2": 1234,
   "sosTime3": 1234,
   "sosTime4": 1234
  }]
 }]
}
Back to Top