EPM Export Data REST API Enhancements
Photo by JESHOOTS.COM

EPM Export Data REST API Enhancements

As part of the March 2024 updates, there was an enhancement to the Export Data REST API. In this article, I want to dive deeper and share with you what I have found during my testing.

What is the Enhancement

At a high level, you can now use the REST API to export data without a job definition. The API uses the parameter values provided without an explicit predefined export data job definition. The file containing the exported data is stored in the repository.

Exporting data supports substitution variables. You can use substitution variables while providing the?rowMembers,?columnMembers, and?povMembers?definitions.

You can read more about the Export Data REST API here.


The Past... Before the Enhancement

Let's look at what it used to be.

  1. You had to first define an "Export Data Job" definition by navigating to Applications > Overview > Export Data
  2. Save the "Export Data" as a job and give it a name
  3. Use the REST API to invoke the saved "Export Data" job
  4. The file is generated in the "Inbox/Outbox" folder

The payload for the REST API would look something like below:

{"jobType":"EXPORT_DATA","jobName":"ExportWeeklySalesForecast",
     "parameters":{
          "exportFileName":"SalesForecst_Weekly.zip"
          }
}        

You specify the job type as "EXPORT_DATA", provide the job name and the name of the Export File Name.


The Future... So What's New

The enhancement to the REST API allows you to export the data without creating a "Export Data" job definition. So your workflow could look like this.

  1. Use the REST API to invoke "Export Data" job
  2. The file is generated in the "Inbox/Outbox" folder

Is it really that simple? ????

If there is no saved job definition, you need to make sure to include the following details as part of the REST API Payload.

  1. Cube Name
  2. PoV Members
  3. Row Members
  4. Column Members

Now this should remind you of "Export Data Slice" REST API.

So in the new world, if you dont have a saved "Export Data" job definition, the payload would look like below.

{"jobType":"EXPORT_DATA","jobName":"ExportJobExpense",
"parameters":{
     "cube":"OEP_FS",
     "rowMembers":"Salaries,Bonus,Payroll Taxes,Labor Expenses",
     "columnMembers":"YearTotal",
     "povMembers":"OEP_Forecast,FY24,OEP_Working,USD,IT US,No Product,No Market,OFS_Total Plan"
     }
}        

This looks more like defining the job definition on the fly, exporting the data and not saving it as a job!!!

Imagine what you can do with this along with Groovy!!!!
You can use substitution variables while providing the?rowMembers,?columnMembers, and?povMembers?definitions.

Conclusion

I believe this is a great enhancement. I wish it created a "JSON" response instead of creating a file in "Inbox/Outbox" folder. But worry not, we can use Data Pipeline file operations to unzip file, copy to a separate instance and then import the data into the other instance, if needed.

Along with Groovy, I think this is a powerful feature. What are your thoughts? Let me know in the comments. I will be testing couple more scenarios and will write about my experience.

Check out this video if you want to learn more about the file operations available in Data Pipeline. Happy EPM-ing!!

Sam Toteve

EPM Consultant @ Precision EPM Inc. | Hyperion Planning Specialist

11 个月

We need the ability for Pipelines to execute scripts like Batch, PowerShell, Python etc. Then we could move off external EPM Automate server. Or maybe it can?

回复
Delfina Enriquez

Software Engineer en Interbak

11 个月

Super bueno!

要查看或添加评论,请登录

Arun Raj的更多文章

  • A Closer Look at EPM February 2025 Updates

    A Closer Look at EPM February 2025 Updates

    Here is a closer look at few of the enhancements in the February 2025 EPM Updates. Let me know what you think about…

    3 条评论
  • Oracle EPM February (25.02) Updates

    Oracle EPM February (25.02) Updates

    I probably spilled the beans a bit this time around. The most exicting features were revealed earlier in one of my…

    1 条评论
  • Year 2024 Recap for EPM Updates

    Year 2024 Recap for EPM Updates

    Hey everyone. As 2024 is coming to an end and we are embracing 2025, here is a look back at some of the best EPM…

    2 条评论
  • EPM Monthly Updates Dec 2024

    EPM Monthly Updates Dec 2024

    It is finally that time of the month. We have the documentation available for the Oracle Cloud EPM December (24.

  • Hide Parameters in Oracle BI Publisher

    Hide Parameters in Oracle BI Publisher

    Here is a 2 min read to learn how to hide parameters in BI Publisher report. Why Hide Parameter(s) Let's first try to…

  • Invoke EPM Pipeline from a Pipeline

    Invoke EPM Pipeline from a Pipeline

    This is a common question I get aksed numerous times. Hey Arun, Is it possible to invoke a pipeline from a pipeline?…

    2 条评论
  • Oracle EPM August 2024 (24.08) Updates

    Oracle EPM August 2024 (24.08) Updates

    Hello family. I know this is a bit late.

    5 条评论
  • Improved Role Assignment Report REST API

    Improved Role Assignment Report REST API

    As part of the June 2024 updates, there were enhancements to the Role Assignment Report REST APIs. The updates were for…

    2 条评论
  • EPM July 2024 (24.07) Updates

    EPM July 2024 (24.07) Updates

    There aren't a lot of updates this time around. However, there are some important ones.

    3 条评论
  • Oracle EPM June 2024 Updates

    Oracle EPM June 2024 Updates

    This was a long wait for me. I was waiting for the June updates and it wasn't showing up.

    8 条评论

社区洞察

其他会员也浏览了