@GET @Produces(MediaType.APPLICATION_JSON) @Path("/getInterstedFpSection/{user}/{token}") public Response getInterstedFpSection( @QueryParam("partnerPartyId") int partnerPartyId, @QueryParam("buId") int buId, @QueryParam("clientPartyId") int clientPartyId, @PathParam("token") String token, @PathParam("user") String name) throws JsonGenerationException, JsonMappingException, IOException { BaseResponse<KeyValue> baseResponse = new BaseResponse<KeyValue>(); baseResponse.setResponseListObject( partnerService.getInterstedFpSection(partnerPartyId, clientPartyId, buId)); baseResponse.setStatus("SUCCESS"); Response response = FiinfraResponseBuilder.getSuccessResponse(baseResponse, null); return response; }