Skip to main content
Solved

Do the REST API parameters match with those of the FME workspace user parameters ?

  • February 12, 2019
  • 2 replies
  • 18 views

I am trying to run a job on FME server through REST API and want to pass user parameters through it. How do I know which parameters of the particular transformers are exposed to the REST API ?

Best answer by david_r

You can only reference the workspace published parameter through the REST API, e.g.:

So if you need to set a transformer parameter using the REST API, you have to publish that particular parameter first.

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

nielsgerrits
VIP
Forum|alt.badge.img+61

Not sure if I understand what you need. The published parameters from a workspace in server?

get /repositories/< repository >/items/< item >/parameters will return those.


david_r
Celebrity
  • Best Answer
  • February 12, 2019

You can only reference the workspace published parameter through the REST API, e.g.:

So if you need to set a transformer parameter using the REST API, you have to publish that particular parameter first.