Java Sample – UpdateDimensionJob.java for Oracle Profitability and Cost Management Cloud

Prerequisites: json.jar

Prerequisites: See Oracle Profitability and Cost Management Cloud Common Helper Functions for Java

    public void updateDimensionJob() throws Exception {
        
        JSONObject json = new JSONObject();
        json.put("dataFileName", "Accounts.txt,Activity.txt");
        
        String urlString = serverURL + "/epm/rest/" + apiVersion + "/fileApplications/" + applicationName + "/updateDimensionJob";

        exe4cuteJob(urlString, "POST", json.toString(();
    }

Note:

In the main method, enter the following statement:

restSamplesObj.updateDimensionsJob();