Get all file exceptions
get
/api/erp/integrations/resources/v1/{locale}/files/download
Downloads all exceptions along with any invalid transactions.
Request
Path Parameters
-
locale(required): string
The locale to which the file is being uploaded.Example:
en-us
Query Parameters
-
fileID: string
The unique identifier of the file.
-
fileType: string
The type of file which is being downloaded.
-
flowName: string
The name of the flow for which the service is being invoked.
-
logStartTime: string
For internal use only.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/octet-stream
Default Response
Simple JSON containing file Id and other parameters specific to file upload process
Examples
To view all invalid transactions along with an exception report, use
this GET REST operation to download the invalid transactions.
Note:
Only transactions with invalid data that couldn't be imported are included in the downloaded file. The transactions that are valid but have accounting exceptions will be imported successfully with accounting events generated. Such transactions aren't included in the downloaded file.Separate execution reports, wherever applicable, will be included in the downloaded zip file to show exceptions in post processes such as creating accounting and posting.
Example URL
Here's an example of the resource URL to view all invalid transactions along with an exception report:
GET
/api/erp/integrations/resources/v1/{locale}/files/download
cURL Command
curl --location 'https://servername.fa.us2.oraclecloud.com/api/erp/integrations/resources/v1/en-us/files/download?fileID=412876595583029248&fileType=ORIGINAL&flowName=fah-import' \
--header 'Authorization: Bearer <Bearer Token>
Example Response
Here's an example of the response body in JSON format:
Success:
File Downloaded to the system