Update File-Based Application

Upload a new dimension flat file for an application created using a flat file.

REST Resource

POST /epm/rest/{api_version}/fileApplications/{application}/updateDimension

Request

Supported Media Types: application/json

Parameters:

The following table summarizes the client request.

Table 13-28 Parameters

Name Description Type Required Default
api_version Version of the API you are developing with Path Yes None
application Name of the application to update Path Yes None
dataFileName Dimension Metadata flat file name that has already been uploaded to the Inbox folder Payload Yes None

Example URL and Payload

https://<SERVICE_NAME>-<TENANT_NAME>.<SERVICE_TYPE>.<dcX>.oraclecloud.com/epm/rest/v1/fileApplications/BksML12/jobs/updateDimension

{"dataFileName":"input.txt"}

Response Body

Supported Media Types: application/json

Table 13-29 Parameters

Name Description
details Task ID, such as BksML12_BksML12_ UpdateDimension_D20160118T051020_bb8_1
status See Migration Status Codes
statusMessage Message about the status, such as In Progress
type Profitability
data Parameters as key value pairs
links Detailed information about the link
href Links to API call
action The HTTP call type
rel Relationship type
data Parameters as key value pairs passed in the request

Example of Response Body:

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

{
  "type": "Profitability",
  "links": [
    {
      "href": "https://<SERVICE_NAME>-<TENANT_NAME>.<SERVICE_TYPE>.<dcX>.oraclecloud.com/epm/rest/v1/fileApplications/BksML12/jobs/updateDimension ",
      "action": "POST",
      "rel": "self",
      "data": {
      "dataFileName":"input.txt"
        }
    }, {
        "href":"https://<SERVICE_NAME>-<TENANT_NAME>.<SERVICE_TYPE>.<dcX>.oraclecloud.com/epm/rest/v1/applications/jobs/ChecktaskStatusJob/BksML12_BksML12_UpdateDimension_D20160118T051020_bb8_1",
        "action": "GET",
        "rel": "Job status"
        }
    ],
    "status": -1,
    "details": "BksML12_BksML12_ UpdateDimension _D20160118T051020_bb8_1",
    "statusMessage": "In_Progress"
}