code: private JSONObject _getByType(String company, String team, String code) throws JSONException {
          String url = "";
          if (code != null) {
              url = "/" + code;
          }
  
          return oClient.get("/otask/v1/tasks/companies/" + company + "/teams/" + team + "/tasks" + url);
      }
docs: Get by type
  
  @param   company Company ID
  @param	team Team ID
  @param   code (Optional) Code(s)
  @throws	JSONException If error occurred
  @return	{@link JSONObject}