Ejemplo n.º 1
0
  @GET
  @Produces(MediaType.APPLICATION_JSON)
  @Path("/getOLTransactionConfiguration/{username}/{token}")
  public Response getOLTransactionConfiguration(
      @PathParam("username") String username,
      @PathParam("token") String token,
      @QueryParam("partyId") Integer partyId,
      @QueryParam("attrCodeId") Integer attrCodeId,
      @QueryParam("attrCodeList") String attrCodeList,
      @QueryParam("buId") Integer buId) {

    BaseResponse<ConfigurationProductsList> br = new BaseResponse<ConfigurationProductsList>();
    br.setResponseObject(
        partnerService.getConfigurationProductsList(partyId, attrCodeId, attrCodeList, buId));
    response = FiinfraResponseBuilder.getSuccessResponse(br, null);
    return response;
  }