code: public void spare_spare_replace_POST(String spare, String domain, String ip) throws IOException {
  		String qPath = "/telephony/spare/{spare}/replace";
  		StringBuilder sb = path(qPath, spare);
  		HashMap<String, Object>o = new HashMap<String, Object>();
  		addBody(o, "domain", domain);
  		addBody(o, "ip", ip);
  		exec(qPath, "POST", sb.toString(), o);
  	}
docs: Replace the phone by its spare. The broken phone became a spare if it was bought. An RMA is created if the broken phone is under securitydeposit.
  
  REST: POST /telephony/spare/{spare}/replace
  @param domain [required] The phone to replace by the spare
  @param ip [required] Public ip of the phone
  @param spare [required] The internal name of your spare