Get All File Metrics by Time Frame
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 to display data from Invoice Holds REST API:
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"
}