Get Exception Details for a Transaction
You can use this GET REST operation to get details of the accounting event processing details for a transaction number along with the exceptions.
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}/transactionNumber/{trxNumber}/exceptionDetails
cURL Command
curl --location 'https://servername.fa.us2.oraclecloud.com/api/erp/integrations/resources/v1/en-us/transactionNumber/KI2_UT_INV_LEDGER_ETC_2/exceptionDetails?subLedgerName=Loan&time=30&flowName=fah-import&reversalFlag=N \
--header 'Authorization: Bearer '<Token>'
Example Response
Here's an example of the response body in JSON format:
{
"docIdentifier": "FAH_TRX_10000_1021082205",
"items": [
{
"zipFileName": "XlaTrx10_MODIFIED-5.zip",
"createdOn": "01 Dec 2022",
"status": "SUCCEEDED",
"headerTotalCount": 10,
"headerErrorCount": 0,
"headerWarningCount": 0,
"lineTotalCount": 20,
"lineErrorCount": 0,
"lineWarningCount": 0,
"transactionAttributes": [
{
"key": "reversalFlag",
"value": "N"
},
{
"key": "transactionDate",
"value": "14 Feb 2018"
}
],
"postProcessAttributes": [
{
"key": "accountingEventProcessedCount",
"value": 1
},
{
"key": "accountingEventUnprocessedCount",
"value": 0
},
{
"key": "accountingEventDraftCount",
"value": 0
},
{
"key": "accountingEventErrorCount",
"value": 0
}
],
"error": {}
}
]
}