Multi-Account Billing Statistics
post
/rest/apis/customer/financials/accountData/multiAccountStatistics
This operation accepts an input list of up to 20 accounts and provides summary calculations of total billing charges by service type.
Request
There are no request parameters for this operation.
Supported Media Types
- application/xml
- application/json
Root Schema : schema
Type:
Show Source
object-
accountList: array
accountList
-
endDate: string
(date)
End DateExample:
2001-08-01 -
startDate: string
(date)
Start DateExample:
2001-01-01
Nested Schema : items
Type:
Show Source
object-
accountId: string
Maximum Length:
10The Account ID is a system-assigned random number that stays with an account for life.Example:1589800000
Root Schema : schema
Type:
Show Source
object-
accountList: array
accountList
-
endDate: string
(date)
End DateExample:
2001-08-01 -
startDate: string
(date)
Start DateExample:
2001-01-01
Nested Schema : items
Type:
Show Source
object-
accountId: string
Maximum Length:
10The Account ID is a system-assigned random number that stays with an account for life.Example:1589800000
Response
Supported Media Types
- application/xml
- application/json
200 Response
Success response
Nested Schema : items
Type:
Show Source
object-
account: object
account
-
currency: object
currency
Currency Code defines the currency in which the account's financial transactions are expressed.
-
currentBalance: number
The current amount owed by the customer on the billing account (calculated value)Example:
-252.2 -
earliestBillDate: string
(date)
Earliest of the bill datesExample:
2001-01-01 -
latestBillDate: string
(date)
Latest of the bill datesExample:
2001-07-01 -
serviceTypeAmounts: array
serviceTypeAmounts
-
totalBalance: number
The amount the customer would need to pay to fully close the account (taking into consideration any deposits, budget billing, loans, etc.)Example:
361.64 -
totalBilledAmount: number
Total Billed AmountExample:
1562.02
Nested Schema : account
Type:
Show Source
object-
_link: string
_link
-
accountId: string
Maximum Length:
10The Account ID is a system-assigned random number that stays with an account for life.Example:1589800000
Nested Schema : currency
Type:
objectCurrency Code defines the currency in which the account's financial transactions are expressed.
Show Source
-
_link: string
_link
-
currency: string
Maximum Length:
3Currency Code defines the currency in which the account's financial transactions are expressed.Example:USD
Nested Schema : items
Type:
Show Source
object-
serviceType: object
serviceType
Service Type defines the type of service associated with the SA type.
-
totalBilledAmount: number
Total Billed AmountExample:
1562.02
Nested Schema : serviceType
Type:
objectService Type defines the type of service associated with the SA type.
Show Source
-
_link: string
_link
-
serviceType: string
Maximum Length:
80Service Type defines the type of service associated with the SA type.
400 Response
Bad Request
Root Schema : problemDetailDocument
Type:
Show Source
object-
detail: string
Maximum Length:
60The long message description from the Oracle Utilities Application Framework in CDATA format. -
httpStatus: number
Minimum Value:
0Maximum Value:9999The HTTP Status code for the error. -
problemInstance: string
Maximum Length:
60Fully qualified URL consisting of the Base URI Timestamp of error in ISO format, the User used for the transaction, the Message Category within Oracle Utilities Application Framework, the Message Number within Oracle Utilities Application Framework, the Request URL and the HTTP method used for the transaction. -
problemType: string
Maximum Length:
60URL of the format "A/message/X/Y" where A is the base URI, X is the Message Category and Y is the Message Number within Oracle Utilities Application Framework. -
serverMessage: object
serverMessage
-
stackTrace: string
Maximum Length:
60The stack trace shows where the error occurs during the execution of a program. -
title: string
Maximum Length:
60Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
Nested Schema : serverMessage
Type:
Show Source
object-
callSequence: string
Maximum Length:
60Delimited sequence of programs called. -
longDescription: string
Maximum Length:
60The long message description from the Oracle Utilities Application Framework in CDATA format. -
messageCategory: number
Minimum Value:
0Maximum Value:0Message Category within Oracle Utilities Application Framework. -
messageNbr: number
Minimum Value:
-99999Maximum Value:99999Message Number within Oracle Utilities Application Framework. -
messageText: string
Maximum Length:
60Fully qualified error message from Oracle Utilities Application Framework in CDATA format. -
programName: string
Maximum Length:
60Name of the program that encountered the error.
500 Response
Internal Server Error
Root Schema : problemDetailDocument
Type:
Show Source
object-
detail: string
Maximum Length:
60The long message description from the Oracle Utilities Application Framework in CDATA format. -
httpStatus: number
Minimum Value:
0Maximum Value:9999The HTTP Status code for the error. -
problemInstance: string
Maximum Length:
60Fully qualified URL consisting of the Base URI Timestamp of error in ISO format, the User used for the transaction, the Message Category within Oracle Utilities Application Framework, the Message Number within Oracle Utilities Application Framework, the Request URL and the HTTP method used for the transaction. -
problemType: string
Maximum Length:
60URL of the format "A/message/X/Y" where A is the base URI, X is the Message Category and Y is the Message Number within Oracle Utilities Application Framework. -
serverMessage: object
serverMessage
-
stackTrace: string
Maximum Length:
60The stack trace shows where the error occurs during the execution of a program. -
title: string
Maximum Length:
60Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
Nested Schema : serverMessage
Type:
Show Source
object-
callSequence: string
Maximum Length:
60Delimited sequence of programs called. -
longDescription: string
Maximum Length:
60The long message description from the Oracle Utilities Application Framework in CDATA format. -
messageCategory: number
Minimum Value:
0Maximum Value:0Message Category within Oracle Utilities Application Framework. -
messageNbr: number
Minimum Value:
-99999Maximum Value:99999Message Number within Oracle Utilities Application Framework. -
messageText: string
Maximum Length:
60Fully qualified error message from Oracle Utilities Application Framework in CDATA format. -
programName: string
Maximum Length:
60Name of the program that encountered the error.