Export Template for Oracle Profitability and Cost Management Cloud

Export Oracle Profitability and Cost Management Cloud applications as a template into the Outbox.

REST Resource

POST/epm/rest/{api_version}/applications/{application}/jobs/templateExportJob?fileName={fileName}

Request

Supported Media Types: application/json

Parameters:

The following table summarizes the client request.

Table 13-34 Parameters

Name Description Type Required Default
api_version Version of the API you are developing with Path Yes None
application Name of the application Path Yes None
fileName Name of the template zip file to be exported to the outbox folder Query Yes None

Note:

If the file name is the same as an existing file name, this will override content in existing file.

Example URL and payload

https://<SERVICE_NAME>-<TENANT_NAME>.<SERVICE_TYPE>.<dcX>.oraclecloud.com/epm/rest/v1/applications/BksML30/jobs/templateExportJob{"fileName":"testFile"}

Response Body

Supported Media Types: application/json

Table 13-35 Parameters

Name Description
details Task ID, such as BksML30_ExportTemplate_D20180201T210316_a80
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",
    "status": -1,
    "statusMessage": "In Progress",
    "details": "BksML30_ExportTemplate_D20180201T210316_a80",
    "links": [
       {
          "data": {
              "fileName": "testFile",
          }
          "action": "POST",
    "href": "https://<SERVICE_NAME>-<TENANT_NAME>.<SERVICE_TYPE>.<dcX>.oraclecloud.com/rest/v1/applications/BksML30/jobs/templateExportJob",
          "rel": "self",
       },
       {
          "action": "GET",
     "href": "https://<SERVICE_NAME>-<TENANT_NAME>.<SERVICE_TYPE>.<dcX>.oraclecloud.com/rest/v1/applications/jobs/ChecktaskStatusJob/BksML30_ExportTemplate_D20180201T210316_a80",
           "rel": "Job status"
       },
    },
},