Import Pre-Mapped Balances (Transaction Matching)

Imports pre-mapped balances for Transaction Matching for a particular period, and returns the success or failure status.

REST Resource

POST       /arm/rest/{api_version}/jobs

Request

Supported Media Types: application/json

Parameters

The following table summarizes the client request specific to this job.

Table 11-21 importtmpremappedbalances

Name Description Required
api_version Version of the API you are working with, such as v1 Yes
jobName The name of a job, importtmpremappedbalances Yes
dataSource The Text ID of the data source where the balances are imported Yes
file The file name, such as clearingBalance.cssv Yes
reconciliationType The Text ID of the Reconciliation type where the balances file has to be imported Yes
dateFormat The format type for the Date fields in the import file, such as DD/MM/YYYY, MMM d, yyyy, or All Yes

Example of request body

{"jobName":"importtmpremappedbalances",
"parameters":{"dataSource":"CLEARING", "reconciliationType":"CLEARING",
"file":"clearingBalances.csv",”dateFormat”:”MM-DD-YYYY”}}

Response

Supported Media Types: application/json

Parameters:

Table 11-22 Parameters

Name Description
details In case of errors, details are published with the error string
status See Migration Status Codes
links Detailed information about the link
href Links to API call or status API
action The HTTP call type
rel Relationship type
data Parameters as key value pairs passed in the request

Example of Response Body

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

{
  "type": "TM",
  "status": -1,
  "details": "In Process",
  "links": [
    {
      "rel": "self",
      "href": "https://<SERVICE_NAME>-<TENANT_NAME>.<SERVICE_TYPE>.<dcX>.oraclecloud.com/arm/rest/v1/jobs/2141",
      "action": "GET"
    }
  ],
  "error": null,
  "items": null,
  "link": null
}