Skip to main content
Question

Create new subscription with REST API

  • January 20, 2014
  • 3 replies
  • 10 views

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?

 

 

 

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.

3 replies

david_r
Celebrity
  • 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
Celebrity
  • 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