Create File-Based Application

Create an application using a flat file.

REST Resource

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

Request

Supported Media Types: application/json

Parameters:

The following table summarizes the client request.

Table 13-26 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 create Path Yes None
description User comment for this application Payload Yes None
ruleDimensionName Rule dimension name Payload Yes None
balanceDimensionName Balance dimension name Payload Yes None

Example URL and Payload

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

{"description": "description","ruleDimensionName":"Rule","balanceDimensionName":"Balance"}

Response Body

Supported Media Types: application/json

Table 13-27 Parameters

Name Description
details Task ID, such as BksML12_BksML12_LoadData_D20160118T051020_ba8_1
status See Migration Status Codes
statusMessage Message about the status, such as Success
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",
      "action": "POST",
      "rel": "self",
      "data": {
        "description": "description",
        "ruleDimensionName": "Rule",
        "balanceDimensionName": "Balance"
      }
    }
  ],
  "status": 0,
  "details": "Application for flat file import has been created with name :: BksML12",
  "statusMessage": "Success"
}