Java Sample – EssbaseDataLoad.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 loadData() throws Exception {
        
        JSONObject json = new JSONObject();
        json.put("clearAllDataFlag", false);
        json.put("dataLoadValue", "ADD_EXISTING_VALUES");
        json.put("dataFileName", "BksML12C.txt");
        
        String urlString = "%s/epm/rest/%s/applications/%s/jobs/essbaseDataLoadJob";
        executeJob(urlString, "POST", json.toString());
        
    }