Java Sample – EssbaseDataLoad.java for Profitability and Cost Management
Prerequisites: json.jar
Prerequisites: See Profitability and Cost Management 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());
}