Retrieving purged job statistics with a Python script

Hello!

I would like to retrieve some job informations after they were deleted (and purged), using a Python script. I thought it was possible as some informations about deleted jobs are stored for statistics, however I can’t find any way to retrieve a purged job in the Scripting Reference.

Ideally, what I need is to get jobs’ finish date/time for a given list of IDs.

From what I’ve seen in the Scripting Reference I first need a Job instance in order to create a JobEntry for statistics. I tried to use Deadline.Scripting.RepositoryUtils.GetDeletedJob(JobID) but it seems to only work if the job hasn’t been purged yet.

I am quite new to Deadline, so I wanted to make sure I haven’t missed anything before going for a different approach that would be much more complex.