Record Transaction History for an Asset
You want to view the transaction history for the asset with the identifier 109137
and asset book OPS CORP
.
Example URL
Here's an example of the resource URL:
POST
fscmRestApi/resources/11.13.18.05/erpintegrations
cURL Command
curl -i -u "<username>:<password>" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -X POST -d <payload> https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/erpintegrations
Example Request
Here's an example of the request body in JSON format, using asset identifier:
{
"OperationName": "processTransaction-getAssetTransactionHistory",
"ParameterList": "{ P_ASSET_ID: 109137, P_BOOK_TYPE_CODE: OPS CORP}"
}
Example Response
Here's an example of the response body in JSON format:
{
"OperationName": "processTransaction-getAssetTransactionHistory",
"DocumentId": null,
"DocumentContent": null,
"FileName": null,
"ContentType": null,
"FileType": null,
"DocumentAccount": null,
"Comments": null,
"ProcessName": null,
"LoadRequestId": null,
"JobPackageName": null,
"JobDefName": null,
"ReqstId": null,
"RequestStatus": null,
"JobName": null,
"ParameterList": "{\"X_LAST_UPDATE_DATE_TBL\":\"03-01-2013 03:56:21,24-06-2010 10:29:56,24-06-2010 10:29:56\",\"X_TRANSACTION_TYPE_CODE_TBL\":\"ADJUSTMENT,TRANSFER IN,ADDITION\",\"X_DATE_EFFECTIVE_TBL\":\"03-01-2013 03:56:21,24-06-2010 10:29:56,24-06-2010 10:29:56\",\"X_AMORTIZATION_START_DATE_TBL\":\"2007-02-01,,\",\"X_LAST_UPDATE_BY_TBL\":\"ASSET_ACCTG_MGR_VF_US_FOODS,450545522ECD9C321AE4363E42268668,450545522ECD9C321AE4363E42268668\",\"X_EVENT_ID_TBL\":\"1053904,,962258\",\"X_TRANSACTION_DATE_ENTERED_TBL\":\"2007-02-01,2007-02-28,2007-02-28\",\"X_INVOICE_TRANSACTION_ID_TBL\":\",,\",\"X_RETURN_STATUS\":\"S\",\"X_DBTIMEZONE\":\"+00:00\",\"X_TRANSACTION_HEADER_ID_TBL\":\"162118,158817,158816\"}",
"NotificationCode": null,
"CallbackURL": null,
"JobOptions": null,
"StatusCode": null,
"ESSParameters": null,
"links": [
{
"rel": "self",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/erpintegrations/processTransaction-getAssetTransactionHistory",
"name": "erpintegrations",
"kind": "item"
},
{
"rel": "canonical",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/erpintegrations/processTransaction-getAssetTransactionHistory",
"name": "erpintegrations",
"kind": "item"
}
]
}