Example #1
0
 @POST
 @Path(value = "/saveInterstedFpSection/{username}/{token}")
 @Produces(MediaType.APPLICATION_JSON)
 public Response saveInterstedFpSection(
     @PathParam("username") String userName,
     @PathParam("token") String token,
     @QueryParam("partyId") int partyId,
     @QueryParam("lastModifiedBy") Integer lastModifiedBy,
     @QueryParam("buId") Integer buId,
     @RequestBody KeyValue keyValue) {
   BaseResponse<Boolean> baseResponse = new BaseResponse<Boolean>();
   baseResponse.setResponseObject(new Boolean(true));
   partnerService.saveInterstedFpSection(partyId, lastModifiedBy, keyValue, buId);
   Response response = FiinfraResponseBuilder.getSuccessResponse(baseResponse, null);
   return response;
 }