Export transaction history to a file

post

/epm/rest/v1/transactionHistory/byName/export

Request

Body ()
Specifies the parameters to use for running the export. NOTE: Either fromDate or lastDays should be passed.
Root Schema : Parameters for exporting transaction history records
Type: object
Show Source
  • List of action names separated by comma for which transaction history is to be exported.
  • Application name for which transaction history is to be exported.
  • Dimension name for which transaction history is to be exported.
  • Allowed Values: [ "TRANSACTION_HIST_ONLY", "TRANSACTION_HIST_AND_WORKFLOW" ]
    Specifies the content to be included in the exported file. Default value is TRANSACTION_HIST_ONLY.
  • The target file name with .xlsx extension to export the transaction history to.
    Example: transaction_history.xlsx
  • Epoch date in seconds after which transaction history is to be exported. Either fromDate or lastDays should be passed. The period cannot exceed 90 days.
  • Hierarchy set name for which transaction history is to be exported.
  • Allowed Values: [ "true", "false" ]
    Specifies whether requests in the same lineage as that of the request number should be included in the export. Should be used only when request number is provided. Default value is false.
  • Number of days for which transaction history is to be exported. Maximum value of 90. Either fromDate or lastDays should be passed.
  • Node name for which transaction history is to be exported.
  • Node type name for which transaction history is to be exported.
  • Request Number for which transaction history is to be exported.
  • Epoch date in seconds before which transaction history is to be exported. toDate has to be after the fromDate. The period cannot exceed 90 days.
  • List of usernames separated by comma for which transaction history is to be exported.
  • View name for which transaction history is to be exported.
  • Viewpoint name for which transaction history is to be exported.
Back to Top

Response

Supported Media Types

202 Response

Accepted, download processing

400 Response

Error in body

404 Response

Not found
Back to Top

Examples

The following example shows how to Export Transaction History to a file by submitting a post request on the REST resource using cURL.

cURL Command

curl --user epm_cloud_user -X POST -H 'Content-Type: application/json' -d @example_request_payload.json https://servername.fa.us2.oraclecloud.com/epm/rest/v1/transactionHistory/byName/export

Example of Request Body

The following shows an example of the request body in JSON format. To include workflow history, include the downloadOption parameter like the example below.

{
    "fromDate": "1609518964",
    "toDate" : "1612810620",
    "applicationName": "Financials Cloud",
    "dimensionName": "Corporate Account",
    "fileName": "Transactions.xlsx",
    "downloadOption": "TRANSACTION_HIST_AND_WORKFLOW"
}

Example of Response Body

The following shows an example of the response body in JSON format.

{
  "links": [
    {
      "rel": "results",
      "href": "http://servername.fa.us2.oraclecloud.com/epm/rest/v1/jobRuns/81ecd091-f969-4053-85ef-3718d1ad63b0"
    }
  ]
}
Back to Top