@GET @Produces(MediaType.APPLICATION_JSON) @Path("/getchartDataList/{user}/{token}") public Response getchartDataList( @QueryParam("partyId") int partyId, @QueryParam("buId") int buId, @QueryParam("chartType") String chartType, @QueryParam("nodeId") int nodeId, @PathParam("token") String token, @PathParam("user") String name) throws JsonGenerationException, JsonMappingException, IOException { logger.debug("partyId:---" + partyId); List<ChartData> lstchartData = partnerService.getChartDataList(partyId, buId, chartType, nodeId); BaseResponse<ChartData> br = new BaseResponse<>(); br.setResponseListObject(lstchartData); response = FiinfraResponseBuilder.getSuccessResponse(br, null); return response; }