Get all transaction metrics by time frame

get

/api/erp/integrations/resources/v1/{locale}/stats/transactionCountSummary

Returns the count of transactions processed within a given time frame.

Request

Path Parameters
Query Parameters
  • The name of the flow for which the service is being invoked.
  • The time frame for which the transaction metrics are fetched. Valid values are 1, 2, 3, and so on. The number indicates the number of days. For example, 1 indicates one day and 2 indicates two days.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

Default Response

Simple JSON containing aggregated transactions count for a particular timeframe
Body ()
Root Schema : TotalTransactionCount
Type: object
Show Source
Back to Top

Examples

You can use this GET REST operation to get the number of the accounting hub transaction processed over a timeframe.

Example URL

Here's an example of the resource URL:

GET

/api/erp/integrations/resources/v1/{locale}/stats/transactionCountSummary

cURL Command

curl --location 'https://servername.fa.us2.oraclecloud.com/api/erp/inboundmonitoring/resources/v1/stats/transactionCountSummary?flowName=fah-import&time=1' \
--header 'Authorization: Bearer '<Bearer Token>

Example Response

Here's an example of the response body in JSON format:


{   
    "flowName":"fah-import",
    "totalTransactionCount":100,
    "accountedTransactionCount":100,
    "errorTransactionCount":50",
    "inProgressTransactionCount":0,
    "uploadedFrom": "2021-12-03T07:53:21.499111Z"
    "uploadedTo": "2021-12-04T07:53:21.499111Z",
}
Back to Top