Skip to main content
Solved

Get an export of the completed jobs in FME Server

  • March 6, 2025
  • 2 replies
  • 70 views

beau
Contributor
Forum|alt.badge.img+7

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.

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

frro
Contributor
Forum|alt.badge.img+17
  • 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+7
  • 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)