public edit()
	{
		this.requireLogin = true;
		this.info = "edit an appointment";
		this.addParamConstraint("id", ParamCons.INTEGER);
		this.addParamConstraint("venueId", ParamCons.INTEGER, true);
		this.addParamConstraint("startTime", ParamCons.INTEGER, true);
		this.addParamConstraint("endTime", ParamCons.INTEGER, true);
		this.addParamConstraint("name", true);
		this.addParamConstraint("info", true);
		this.addParamConstraint("frequency", ParamCons.INTEGER, true);
		this.addParamConstraint("lastDay", ParamCons.INTEGER, true);
		this.addParamConstraint("reminderAhead", ParamCons.INTEGER, true);
		this.addParamConstraint("aWaitingId");
		this.addRtnCode(405, "appointment not found");
		this.addRtnCode(406, "permission denied");
		this.addRtnCode(407, "venue not found");
		this.addRtnCode(408, "illegal time");
		this.addRtnCode(409, "illegal frequency");

	}