Using API to get running job report - V11

Discussion created by SamahSohrab607228 on Feb 9, 2017
Latest reply on Nov 2, 2017 by JessicaIsaacson603938
Has anyone used the Java API to get the Report of a job that is still running?

I can do this to get the finished report
Report jobLog = new Report(runID, 'REP')
But I've only been able to get as far as getting the location of the running report from the directory tab. I can't find a way to "Open" that file via the API

GetOutputDirectory directory_tab = new GetOutputDirectory(runID)
Iterator<GetOutputDirectory.OutputDirectoryItem> it = direcotry_tab.iterator();