Subversion Repositories SmartDukaan

Rev

Rev 23763 | Rev 23951 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 23763 Rev 23945
Line 60... Line 60...
60
		params.put("target_format", "CSV");
60
		params.put("target_format", "CSV");
61
		params.put("execute_mode", "EXECUTE");
61
		params.put("execute_mode", "EXECUTE");
62
		params.put("MANUAL_fofoId", String.valueOf(fofoId));
62
		params.put("MANUAL_fofoId", String.valueOf(fofoId));
63
		return restClient.getResponse(reporticoUrl, params, new HashMap<>());
63
		return restClient.getResponse(reporticoUrl, params, new HashMap<>());
64
	}
64
	}
-
 
65
	
-
 
66
	public HttpResponse getJsonFile(ReporticoProject projectName, String reportName, Map<String, String> params) throws HttpHostConnectException, ProfitMandiBusinessException {
-
 
67
		
-
 
68
		Map<String, String> authMap = projectAuthMap.get(projectName);
-
 
69
		
-
 
70
		params.putAll(authMap);
-
 
71
		params.put("xmlin", reportName);
-
 
72
		params.put("target_format", "JSON");
-
 
73
		params.put("execute_mode", "EXECUTE");
-
 
74
		return restClient.getResponse(reporticoUrl, params, new HashMap<>());
-
 
75
	}
65
}
76
}