Skip to main content
Solved

Programmatically retrieve list of Web Connections on the FME Server

  • May 11, 2022
  • 2 replies
  • 44 views

jorma
Contributor
Forum|alt.badge.img
  • Contributor
  • 7 replies

Hi Folks - I am looking to use the API to get a list of all the Web Connections on the FME server. Has anyone done this before? Thanks

Best answer by birgit

I haven't done this myself but it looks like you need to use the following command: https://FMEServerName/fmerest/v3/security/categories/NamedConnections/resources?limit=-1&offset=-1

 

Please note the underlined text, you need to replace it with what is applicable to you. It's a GET request. Also don't forget that you need to send a token with your request or else it won't work.

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

birgit
Influencer
Forum|alt.badge.img+21
  • Influencer
  • 131 replies
  • Best Answer
  • May 12, 2022

I haven't done this myself but it looks like you need to use the following command: https://FMEServerName/fmerest/v3/security/categories/NamedConnections/resources?limit=-1&offset=-1

 

Please note the underlined text, you need to replace it with what is applicable to you. It's a GET request. Also don't forget that you need to send a token with your request or else it won't work.


jorma
Contributor
Forum|alt.badge.img
  • Author
  • Contributor
  • 7 replies
  • May 12, 2022

Perfect! Works great... thanks @birgit​ !