code: public static String getProjectId(String sessionId, AzkabanProjectConfig azkabanProjectConfig) throws IOException {
      // Note: Every get call to Azkaban provides a projectId in response, so we have are using fetchProjectFlows call
      // .. because it does not need any additional params other than project name
      Map<String, String> params = Maps.newHashMap();
      params.put("ajax", "fetchprojectflows");
      params.put("project", azkabanProjectConfig.getAzkabanProjectName());
  
      return executeGetRequest(prepareGetRequest(azkabanProjectConfig.getAzkabanServerUrl() + "/manager",
          sessionId, params)).get("projectId");
    }
docs: *
  Get project.id for a Project Name.
  @param sessionId Session Id.
  @param azkabanProjectConfig Azkaban Project Config.
  @return Project Id.
  @throws IOException