Followers

Friday, June 27, 2025

OIC - Business Rule

 How to execute Business Rule using OIC

Create and launch business rule without any issues. Then Navigate to Application and select Jobs. Create Job with business rule.

In OIC: Use below with Post method:

/HyperionPlanning/rest/v3/applications/NiccoFPR/jobs

Request:

Json: 

{

  "jobType" : "RULES",

  "jobName" : "aso to bso dr"

}


Response:

{

  "status" : "",

  "jobId" : ""

}

To check Status:

/HyperionPlanning/rest/v3/applications/NiccoFPR/jobs/{jobIdentifier}

Use Get Method, Attach JobId with JobIdentifier in mapping

Response:

{"status":"","details":""}


Thanks,

Mady

OIC - To place file in Amazon S3 Bucket

 To place file in Amazon S3 Bucket - we can use below method:

Use Put Object to place file into S3 Bucket.


Update Bucket Name in the below screen

Check Summary and click Finish.


In Mapping, Update details like this. File name you can mention directly, or if needed you can use along with folder name also like mentioned in below screenshot.


After executing you can check S3 bucket, to verify the file is placed or not.


Thanks,

Mady




OIC - Upload file

 To upload file into EPM inbox/outbox folder or into EPM - DM - inbox folder, we can use below:


/interop/rest/11.1.2.3.600/applicationsnapshots/{applicationSnapshotName}/contents

Needs to use Post Method

Request: Select Binary Method

Use Post with below response:

{

  "status" : "",

  "details" : ""

}


Thanks,

Mady


Wednesday, June 4, 2025

OIC - To get file from Amazon S3 Bucket

 To get file from AWS bucket:


You can use Get Object to pull file from AWS bucket.

Bucker Name and Object name, then in mapping you update same details.

If you upload file in the step, file will pushed to Target location from AWS bucket.

Thanks,
Mady




OIC - Application Admin Mode

 To upload file into EPM inbox/outbox folder or DM inbox folder:

Post:

/HyperionPlanning/rest/v3/applications/NiccoFPR/jobs

Request:

{

  "jobType" : "Administration Mode",

  "jobName" : "AppAdminJob",

  "parameters" : {

    "loginLevel" : "Administrators"

  }

}

In Mapping:


To make application into Admin Mode, Use Parameter as Administrators or to release application for all users, mention as All Users


Thanks,

Mady

OIC - Import Data

 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