@Path("/changeActivation/{id}/{isActive}") @PUT @Produces(javax.ws.rs.core.MediaType.APPLICATION_JSON) @ApiOperation( value = "change customer activation", httpMethod = "Put", notes = "changes customer activation") public Status changeActivation( @ApiParam(name = "id", value = "isActive field needs to be updated", required = true) @PathParam("id") long id, @PathParam("isActive") boolean isActive) { return companyServiceImpl.changeActivation(id, isActive); }