Java Sample – clearPOV.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 clearPOVData() throws Exception {
        
        JSONObject json = new JSONObject();
        json.put("isManageRule", true);
        json.put("isInputData", true);
        json.put("stringDelimiter", "_");
        
        String povGroupMember = "2014_January_Actual";
        
        String urlString = "%s/epm/rest/%s/applications/%s/povs/" + povGroupMember.trim().replaceAll(" ", "%20") 
                                        +  "/jobs/clearPOVJob";
        executeJob(urlString, "POST", json.toString());        
    }