Skip to main content

Hi guys!

I'm trying to export a list of the completed jobs using the FME Rest API, but I can't seem to get it done. What I want is basically a list of all the completed jobs, including the start time, end time, job id, engine, workspace name etc. For this, I'm using FME Form, a creator connected to a http-caller. 

Used the following Request URL: 
/fmerest/v3/jobs/completed?status=SUCCESS
/fmerest/v3/jobs/completed

And a few others.
I got two headers, one with the token and one with the content type.

The errors are being returned:
{"message":"null for uri….}

Does anyone know a solution for this?

Hi,

I believe you got the URL wrong.
It should be /fmerest/v3/transformations/jobs/completed

Also the Query String Parameter should be: “completedState” and “success”

Note that it is case sensitve.

This works for me.

 


Yeah this works! Thank you for the answer and the help. I also got it done using the job ID

 

.../fmeapiv4/jobs/@Value(fme_last_jobID)