Get all file metrics by time frame

get

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

Returns the count of files 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 file count for a particular timeframe
Body ()
Root Schema : TotalFileCount
Type: object
Show Source
Back to Top

Examples

You can use this GET REST operation to get the number of files uploaded to Accounting Hub within a specific timeframe.

Example URL

Here's an example of the resource URL:

GET

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

cURL Command

curl --location 'https://servername.fa.us2.oraclecloud.com/api/erp/integrations/resources/v1/en-us/files/282935615631953920/postProcessDetails?flowName=fah-import' \
--header 'Authorization: Bearer <Bearer Token>

Example Response

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


{   
    "flowName":"fah-import",
    "totalReceivedFileCount":1,
    "processedFileCount":1,
    "invalidFileCount":0,
    "inProgressFileCount":0,
    "errorFileCount":0, 
    "uploadedFrom": "2021-12-03T07:53:21.499111Z"
    "uploadedTo": "2021-12-04T07:53:21.499111Z"
}
Back to Top