Get control daily totals

post

/bi/v1/{orgIdentifier}/getControlDailyTotals

Get the Control 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 : controlTotalsRequestPayload
Type: object
Request payload for Control Daily Totals
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
    If present, the API will return the superset of all guest checks where Open Business Date or Closed Business Date match to the supplied date. This parameter cannot be present if clsdBusDt or opnbusDt are present
  • Title: Business Date
    If present, the API will return all guest checks which were closed or reopen closed on the supplied business date. This parameter cannot be present if opnBusDt or busDt are present.

    First Available Version: 20.1.10

  • 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: Business Date
    If present, the API will return the guest checks which were opened or reopened on the supplied business date. This parameter cannot be present if clsdBusDt or busDt are present.

    First Available Version: 20.1.10

  • Title: Revenue center number
    Maximum Length: 10
    Revenue center number for which the control totals are to be fetched.

    First Available Version: 20.1.9.7

  • 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 : controlDailyTotals
Type: object
The response body contains information about the control totals for the specified business date and location.
Show Source
Nested Schema : revenueCenters
Type: array
An array of Control Totals by RVC
Show Source
Nested Schema : controlTotalsByRVC
Type: object
The response body contains control totals about a revenue center for the specified location.
Show Source
  • Title: Closed Checks Total
    The amount of all closed checks including taxes and service charges.
  • Title: Number of Closed Checks
    Maximum Length: 16
    The number of checks closed for the business date
  • Title: Number of Non Sale Transactions
    Maximum Length: 16
    The number of non-sales transactions that occurred during this business day, including no sales and media transactions.
  • Title: Number of Open Checks at End of Day
    Maximum Length: 16
    The number of open checks at end of day
  • Title: Open Check total at End of Day
    The amount of open checks at end of day including taxes, service charges, payments, etc.
  • Title: Revenue Center Number
    Maximum Length: 10
    Revenue Center number

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 Control 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","rvcNum":123,"busDt":"2020-10-20"} https://baseurl/bi/v1/orgidentifier/getControlDailyTotals 
  

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": "2019-07-20",
 "eodStatus": 1,
 "lastUpdatedUTC": "2020-10-20T16:20:45",
 "lastUpdatedLcl": "2020-10-20T16:20:45",
 "firstTransUTC": "2019-07-20T13:02:00",
 "firstTransLcl": "2019-07-20T09:02:00",
 "lastTransUTC": "2019-07-20T22:01:26",
 "lastTransLcl": "2019-07-20T18:01:26",
 "revenueCenters":[{
  "rvcNum": 123,
  "numClsdChks": 399,
  "clsdChkTtl": 14657.34,
  "numOpnChksAtEOD": 3,
  "opnChkTtlAtEOD": 50.99,
  "numNonSlsTrans": 19
 }]
}
Back to Top