Import ML Template

Use this operation to import an entire Management Ledger application from a template zip file (which was created by a template export operation). This creates a new application which contains the same dimension metadata and artifacts as the exported application.

Table 3-20 Import ML Template

Name Description
Action Type POST
Request URI http://myServer.mydomain.com:19000/profitability/rest/v1/applications/BksTs/jobs/templateImportJob
Request Payload
{
   "description":"description",
   "instanceName":"PROFITABILITY_WEB_APP",
   "essApplicationServer":"EssbaseCluster-1",
   "sharedServicesProject":"EssbaseCluster-1",
   "applicationType": "MANAGEMENT_LEDGER",
   "fileName":" testFile12345.zip",
   "isApplicationOverwrite":"true"
}
Response
{
    "type": "Profitability",
    "links": [{
        "href": "http://slc06vya.mydomain.com:19000/profitability/rest/v1/applications/BksT1/jobs/templateImportJob",
        "action": "POST",
        "rel": "self",
        "data": {
            "instanceName": "PROFITABILITY_WEB_APP",
            "essApplicationServer": "EssbaseCluster-1",
            "sharedServicesProject": "EssbaseCluster-1",
            "description": "description",
            "isApplicationOverwrite": true,
            "applicationType": "MANAGEMENT_LEDGER",
            "fileName": " testFile12345.zip"
        }
    }],
    "status": 1,
    "details": "the given File not found : filename is  testFile12345.zip",
    "statusMessage": "ERROR"
}
Process Type Asynchronous

Table 3-21 Request Parameters

Parameter Description Example
description Description for application (mandatory parameter) description
instanceName Instance name for the application (mandatory parameter) PROFITABILITY_WEB_APP
essApplicationServer Essbase Application Server name (mandatory parameter) EssbaseCluster-1
sharedServicesProject Shared Services Project Name (mandatory parameter) EssbaseCluster-1
applicationType Type of application
fileName Name of the zip file already present in export import location. (Mandatory parameter)
isApplicationOverwrite if value is true then it will delete existing application and then creates new application & if false then it will return with message that application already exist(default is males and it is an optional parameter ) true

Table 3-22 Response Values

Parameter Description Example
details CES task id AppMgmt_AppMgmt_ImportTemplate_D20160113T051745_d85_1