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
-
orgIdentifier: string
Unique identifier of the organization name
The request body defines the details of the API request.
Root Schema : requestPayload
Type:
object
Request payload
Show Source
-
applicationName(optional):
string
Title:
Application Name
Maximum Length:128
The name of the application which is accessing the API.First Available Version: 20.1.10
-
busDt:
string(date)
Title:
Business Date
The business date associated with the cash management detail -
include(optional):
string
Title:
Include
Maximum Length:2000
List of objects to include in response -
locRef:
string
Title:
Location Reference
Maximum Length:99
The location reference, this may be a store number or name depending on the organization -
searchCriteria(optional):
string
Title:
Search Criteria
Maximum Length:2000
Search criteria to filter results based on field value
Response
Supported Media Types
- application/json
200 Response
OK
Root Schema : fiscalTotalData
Type:
object
The response body contains information about the fiscal totals for the specified location.
Show Source
-
busDt:
string(date)
Title:
Business Date
Business Date -
locRef:
string
Title:
Location Reference
Maximum Length:99
The location reference, this may be a store number or name depending on the organization -
revenueCenters:
array Revenue Centers
Title:
Revenue Centers
An array of fiscal total data by reveneue centers
Nested Schema : Revenue Centers
Type:
array
Title:
Revenue Centers
An array of fiscal total data by reveneue centers
Show Source
-
Array of:
object fiscalTotalDataByRVC
The response body contains fiscal total data about a revenue center for the specified location.
Nested Schema : fiscalTotalDataByRVC
Type:
object
The response body contains fiscal total data about a revenue center for the specified location.
Show Source
-
rvcNum:
integer
Title:
Revenue center number
Maximum Length:99
Revenue Center number. This attribute will not be returned in the response if totalData is null -
totalData:
array 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
-
Array of:
object fiscalTotalDataObj
The response body contains fiscal total data of a revenue center for the specified location.
Nested Schema : fiscalTotalDataObj
Type:
object
The response body contains fiscal total data of a revenue center for the specified location.
Show Source
-
fcrBusDt:
string(date)
Title:
FCR Business Date
Device Business date, Country / Transaction specific value -
fcrInfo1:
string
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 -
fcrInfo10:
string
Title:
FCR Info 10
Maximum Length:100
Country / Transaction specific value. This attribute will not be returned in the response if value is null -
fcrInfo11:
string
Title:
FCR Info 11
Maximum Length:100
Country / Transaction specific value. This attribute will not be returned in the response if value is null -
fcrInfo12:
string
Title:
FCR Info 12
Maximum Length:100
Country / Transaction specific value. This attribute will not be returned in the response if value is null -
fcrInfo13:
string
Title:
FCR Info 13
Maximum Length:100
Country / Transaction specific value. This attribute will not be returned in the response if value is null -
fcrInfo14:
string
Title:
FCR Info 14
Maximum Length:100
Country / Transaction specific value. This attribute will not be returned in the response if value is null -
fcrInfo15:
string
Title:
FCR Info 15
Maximum Length:100
Country / Transaction specific value. This attribute will not be returned in the response if value is null -
fcrInfo16:
string
Title:
FCR Info 16
Maximum Length:100
Country / Transaction specific value. This attribute will not be returned in the response if value is null -
fcrInfo2:
string
Title:
FCR Info 2
Maximum Length:100
Country / Transaction specific value. This attribute will not be returned in the response if value is null -
fcrInfo3:
string
Title:
FCR Info 3
Maximum Length:100
Country / Transaction specific value. This attribute will not be returned in the response if value is null -
fcrInfo4:
string
Title:
FCR Info 4
Maximum Length:100
Country / Transaction specific value. This attribute will not be returned in the response if value is null -
fcrInfo5:
string
Title:
FCR Info 5
Maximum Length:100
Country / Transaction specific value. This attribute will not be returned in the response if value is null -
fcrInfo6:
string
Title:
FCR Info 6
Maximum Length:100
Country / Transaction specific value. This attribute will not be returned in the response if value is null -
fcrInfo7:
string
Title:
FCR Info 7
Maximum Length:100
Country / Transaction specific value. This attribute will not be returned in the response if value is null -
fcrInfo8:
string
Title:
FCR Info 8
Maximum Length:100
Country / Transaction specific value. This attribute will not be returned in the response if value is null -
fcrInfo9:
string
Title:
FCR Info 9
Maximum Length:100
Country / Transaction specific value. This attribute will not be returned in the response if value is null -
fcrNum1:
string
Title:
FCR Number 1
Maximum Length:100
Country / Transaction specific value. This attribute will not be returned in the response if value is null -
fcrNum2:
string
Title:
FCR Number 2
Maximum Length:100
Country / Transaction specific value. This attribute will not be returned in the response if value is null -
json(optional):
json object
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
-
wsNum:
integer
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
Root Schema : exceptionDetailType
Type:
object
Error details
Show Source
-
detail(optional):
string
Title:
Error description
The description of the error -
o:errorCode:
integer
Title:
Oracle error code
Oracle error code -
status(optional):
integer
Title:
Status
HTTP response code -
title:
string
Title:
Title
High level description of the error -
type:
string
Title:
Type
The description of the type of HTTP error
401 Response
Unauthorized
Root Schema : exceptionDetailType
Type:
object
Error details
Show Source
-
detail(optional):
string
Title:
Error description
The description of the error -
o:errorCode:
integer
Title:
Oracle error code
Oracle error code -
status(optional):
integer
Title:
Status
HTTP response code -
title:
string
Title:
Title
High level description of the error -
type:
string
Title:
Type
The description of the type of HTTP error
403 Response
Service Unavailable
Root Schema : exceptionDetailType
Type:
object
Error details
Show Source
-
detail(optional):
string
Title:
Error description
The description of the error -
o:errorCode:
integer
Title:
Oracle error code
Oracle error code -
status(optional):
integer
Title:
Status
HTTP response code -
title:
string
Title:
Title
High level description of the error -
type:
string
Title:
Type
The description of the type of HTTP error
404 Response
Resource Not Found
Root Schema : exceptionDetailType
Type:
object
Error details
Show Source
-
detail(optional):
string
Title:
Error description
The description of the error -
o:errorCode:
integer
Title:
Oracle error code
Oracle error code -
status(optional):
integer
Title:
Status
HTTP response code -
title:
string
Title:
Title
High level description of the error -
type:
string
Title:
Type
The description of the type of HTTP error
Default Response
Unexpected Error
Root Schema : exceptionDetailType
Type:
object
Error details
Show Source
-
detail(optional):
string
Title:
Error description
The description of the error -
o:errorCode:
integer
Title:
Oracle error code
Oracle error code -
status(optional):
integer
Title:
Status
HTTP response code -
title:
string
Title:
Title
High level description of the error -
type:
string
Title:
Type
The description of the type of HTTP error
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}]", }] }] }