Ejemplo n.º 1
0
 @GET
 @Produces(MediaType.APPLICATION_JSON)
 @Path("/getperformanceMatrixReport/{user}/{token}")
 public Response getperformanceMatrixReport(
     @QueryParam("partyId") int partyId,
     @QueryParam("buId") int buId,
     @QueryParam("benchMark") int benchMark,
     @QueryParam("banchMarkCategory") int banchMarkCategory,
     @QueryParam("dataTagId") int dataTagId,
     @PathParam("token") String token,
     @PathParam("user") String name)
     throws JsonGenerationException, JsonMappingException, IOException {
   BaseResponse<PerformanceMatrixData> baseResponse = new BaseResponse<PerformanceMatrixData>();
   baseResponse.setResponseListObject(
       partnerService.getperformanceMatrixReport(
           partyId, buId, benchMark, banchMarkCategory, dataTagId));
   baseResponse.setStatus("SUCCESS");
   Response response = FiinfraResponseBuilder.getSuccessResponse(baseResponse, null);
   return response;
 }