code: public JSONObject getJobById(String mcUrl, String mcUserName, String mcPassword, String proxyAddress, String proxyUsername, String proxyPassword, String jobUUID) {
          JSONObject jobJsonObject = null;
          String hp4mSecret = null;
          String jsessionId = null;
  
          String loginJson = loginToMC(mcUrl, mcUserName, mcPassword, proxyAddress, proxyUsername, proxyPassword).toJSONString();
          try {
              if (loginJson != null) {
                  JSONObject jsonObject = (JSONObject) JSONValue.parseStrict(loginJson);
                  hp4mSecret = (String) jsonObject.get(Constants.LOGIN_SECRET);
                  jsessionId = (String) jsonObject.get(Constants.JSESSIONID);
              }
          } catch (Exception e) {
              e.printStackTrace();
          }
  
          boolean b = argumentsCheck(jobUUID, hp4mSecret, jsessionId);
  
          if (b) {
              try {
                  Map<String, String> headers = new HashMap<String, String>();
                  headers.put(Constants.LOGIN_SECRET, hp4mSecret);
                  headers.put(Constants.COOKIE, Constants.JESEEIONEQ + jsessionId);
                  HttpResponse response = HttpUtils.get(HttpUtils.setProxyCfg(proxyAddress, proxyUsername, proxyPassword), mcUrl + Constants.GET_JOB_UEL + jobUUID, headers, null);
  
                  if (response != null && response.getJsonObject() != null) {
                      jobJsonObject = response.getJsonObject();
                  }
                  if(jobJsonObject != null){
                      jobJsonObject = (JSONObject)jobJsonObject.get(Constants.DATA);
                  }
              } catch (Exception e) {
                  e.printStackTrace();
              }
          }
          return removeIcon(jobJsonObject);
      }
docs: get one job by id