To Import Data: we can use below with RESTApi - to execute from OIC
Post:
/HyperionPlanning/rest/v3/applications/NiccoFPR/jobs
Request:
{
"jobType": "IMPORT_METADATA",
"jobName": "ImportMetaDataJob",
"parameters": {
"errorFile":"ImportMetaDataErrorFile.zip",
"importZipFileName": "myMetaDataDailyJob.zip"
}
}
Response:
{
"status" : 0,
"details" : "",
"jobId" : 224,
"jobName" : ""
}
Get Status:
/HyperionPlanning/rest/v3/applications/NiccoFPR/jobs/{jobIdentifier}/details
Import metadata status:
Response:
{
"items" : [ {
"recordsRead" : 0,
"recordsRejected" : 0,
"recordsProcessed" : 0,
"dimensionName" : "Departments",
"loadType" : "Metadata Import"
} ]
}
Thanks,
Mady
No comments:
Post a Comment