@Override
	public Action postAction(Action a) throws JSONException, BadResponseException {
		
		Representation r = new JsonRepresentation(a.toJSON());
		r = serv.postResource("intervention/" + interId + "/action", a.getUniqueID(), r);
		Action action = null;
		try {
			action =  new Action(new JsonRepresentation(r).getJsonObject());
		} catch (InvalidJSONException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		}
		
		return action;
	}