Skip to main content
Question

Create new subscription with REST API


Forum|alt.badge.img
Hi

 

Im looking for a way to automatically post a new subscription, preferably in a python startup script. Is it possible to use the REST API for this task?

 

 

 

3 replies

david_r
Evangelist
  • January 20, 2014
Hi,

 

 

that should be possible using FME 2014 and the latest version of the REST API. I'm not sure if it's possible with FME 2013 or earlier.

 

 

Start here for more info.

 

 

David

Forum|alt.badge.img
  • Author
  • January 20, 2014
Ah thanks, that sounds good. Still running 2013 here, will hopefully upgrade soon!

 

 

Strange though I cant get to see the documentation:

 

 

FME REST Service Error: java.io.FileNotFoundException: apidoc

david_r
Evangelist
  • January 20, 2014
Hi,

 

 

the URL that is in the posted link will only work for FME 2014. Version 2 of the REST API isn't available in earlier versions.

 

 

For FME 2013, try this URL instead:

 

http://<host>:<port>/fmerest/

 

 

If that doesn't work, look at the documentation in the FME Server installation directory.

 

 

David

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