Get All Transaction Metrics by File and Dimension
You can use this GET REST operation to get the number of transactions processed for one or more-dimension values within a particular time frame. For Accounting Hub, the supported dimensions are Subledger, Ledger and Event Type.
Example URL
Here's an example of the resource URL:
GET
/api/erp/integrations/resources/v1/{locale}/dimensionView
cURL Command
curl --location 'https://servername.fa.us2.oraclecloud.com/api/erp/inboundmonitoring/resources/v1/dimensionView?flowName=fah-import&ledgerName=OFS%20Ledger%20US&subLedgerName=LOAN&eventType=PAYMENT&time=1' \
--header 'Authorization: Bearer '<Bearer Token>
Example Response
Here's an example of the response body in JSON format:
{
"flowName":"fah-import",
"uploadedFrom": "2021-12-03T07:53:21.499111Z"
"uploadedTo": "2021-12-04T07:53:21.499111Z",
"dimensions": [
{
"name" : "LedgerName",
"value" : "OFS Ledger US"
},
{
"name" : "SubLedgerName",
"value" : "LOAN"
},
{
"name" : "EventType",
"value" : "PAYMENT"
}],
"headerCount":{
"totalHeaderCount":100,
"totalHeaderInError":10,
"totalHeaderProcessed":70,
"totalHeaderInWarning":10,
"totalHeaderErrorInLine":10,
"totalHeaderInProcessing":0,
}
lineCount:{
"totalLineCount":100,
"totalLineInError":10,
"totalLineProcessed":70,
"totalLineErrorInRelatedLine":10,
"totalLineErrorInHeaders":10,
"totalLineIgnored":10
}
}