Skip to main content
Solved

Get an export of the completed jobs in FME Server


beau
Contributor
Forum|alt.badge.img
  • Contributor

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?

Best answer by frro

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.

 

View original
Did this help you find an answer to your question?

2 replies

frro
Contributor
Forum|alt.badge.img+13
  • Contributor
  • Best Answer
  • March 6, 2025

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.

 


beau
Contributor
Forum|alt.badge.img
  • Author
  • Contributor
  • March 17, 2025

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)

 

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings