Question

Create new subscription with REST API

  • 20 January 2014
  • 3 replies
  • 0 views

Badge
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

Userlevel 4
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
Badge
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
Userlevel 4
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

Reply