Get total transactions

post

/bi/v1/{orgIdentifier}/getFiscalTotalData

Get all the Fiscal total transactions for a specified location that occurred for a specified 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 : fiscalTotalData
Type: object
The response body contains information about the fiscal totals for the specified location.
Show Source
Nested Schema : Revenue Centers
Type: array
Title: Revenue Centers
An array of fiscal total data by reveneue centers
Show Source
Nested Schema : fiscalTotalDataByRVC
Type: object
The response body contains fiscal total data about a revenue center for the specified location.
Show Source
  • Title: Revenue center number
    Maximum Length: 99
    Revenue Center number. This attribute will not be returned in the response if totalData is null
  • Total Data
    Title: Total Data
    An array of fiscal total data for a revenue center. This attribute will not be returned in the response if value is null
Nested Schema : Total Data
Type: array
Title: Total Data
An array of fiscal total data for a revenue center. This attribute will not be returned in the response if value is null
Show Source
Nested Schema : fiscalTotalDataObj
Type: object
The response body contains fiscal total data of a revenue center for the specified location.
Show Source
  • Title: FCR Business Date
    Device Business date, Country / Transaction specific value
  • Title: Invoice Data Info 1
    Maximum Length: 100
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: FCR Info 10
    Maximum Length: 100
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: FCR Info 11
    Maximum Length: 100
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: FCR Info 12
    Maximum Length: 100
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: FCR Info 13
    Maximum Length: 100
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: FCR Info 14
    Maximum Length: 100
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: FCR Info 15
    Maximum Length: 100
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: FCR Info 16
    Maximum Length: 100
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: FCR Info 2
    Maximum Length: 100
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: FCR Info 3
    Maximum Length: 100
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: FCR Info 4
    Maximum Length: 100
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: FCR Info 5
    Maximum Length: 100
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: FCR Info 6
    Maximum Length: 100
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: FCR Info 7
    Maximum Length: 100
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: FCR Info 8
    Maximum Length: 100
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: FCR Info 9
    Maximum Length: 100
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: FCR Number 1
    Maximum Length: 100
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: FCR Number 2
    Maximum Length: 100
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: Country / Transaction specific fiscal data in Json
    Country / Transaction specific fiscal data represented in JSON format. This attribute will not be returned in the response if value is null.

    First Available Version: 20.1.12

  • Title: Workstation Number
    Maximum Length: 16
    Workstation Number. This attribute will not be returned in the response if value is 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 Fiscal Total Data 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/getFiscalTotalData 
  

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-19",    
 "revenueCenters":[{
  "rvcNum": 1372,
  "totalData":[{
   "wsNum": 23,
   "fcrBusDt": "2019-07-19",
   "fcrNum1": "Num1",
   "fcrNum2": "Num2",
   "fcrInfo1": "Info",
   "fcrInfo2": "Info",
   "fcrInfo3": "Info",
   "fcrInfo4": "Info",
   "fcrInfo5": "Info",
   "fcrInfo6": "Info",
   "fcrInfo7": "Info",
   "fcrInfo8": "Info",
   "fcrInfo9": "Info",
   "fcrInfo10": "Info",
   "fcrInfo11": "Info",
   "fcrInfo12": "Info",
   "fcrInfo13": "Info",
   "fcrInfo14": "Info",
   "fcrInfo15": "Info",
   "fcrInfo16": "Info"
   "json": "[{Country / Transaction specific fiscal data}]",
  }]
 }]
}
Back to Top