code: public JSONObject endContract(String reference, HashMap<String, String> params) throws JSONException {   
          return oClient.delete("/hr/v2/contracts/" + reference, params);
      }
docs: End Contract
  
  @param   reference Contract reference
  @param   params Parameters
  @throws	JSONException If error occurred
  @return	{@link JSONObject}