Skip to main content
Solved

Is there any way I can use the http caller without an input (Can I start a process with that transformer)?

  • March 12, 2021
  • 3 replies
  • 98 views

zanzibarjack
Contributor
Forum|alt.badge.img

Is there any way I can use the http caller without an input (Can I start a process with that transformer)?

 

My use case is that I'm trying to create Cityworks Inspections from File geodatabase records and update those inspections with records from the same File geodatabase. In order to do this I need to fetch all the Questions and Answers from the Inspection template to get a list of all the question ID's and Answer ID's. From there I need to somehow map the FGDB records to those Answer values based on the ID's.

 

This would be simpler if I could just call the Cityworks API through the http caller to fetch all of the information as JSON without needing to feed in my GDB s an input. Essentially I want a list of all possible questions and answers for an inspection template to be used later on without having to first feed something into the http caller.

 

Hope this makes sense. Thanks!😀

Best answer by danilo_fme

Hi @​zanzibarjack

I suggest you to use the transformer Creator before the HTtpCaller.

Thanks,

Danilo ​

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

danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • 2077 replies
  • Best Answer
  • March 13, 2021

Hi @​zanzibarjack

I suggest you to use the transformer Creator before the HTtpCaller.

Thanks,

Danilo ​


Forum|alt.badge.img+2
  • 1891 replies
  • March 15, 2021

@zanzibarjack​ Also, have a look at the Cityworks custom transformer connectors on FME HUB. They might do what you need, or at least give you a starting point to work from.


zanzibarjack
Contributor
Forum|alt.badge.img
  • Author
  • Contributor
  • 2 replies
  • March 15, 2021

@zanzibarjack​ Also, have a look at the Cityworks custom transformer connectors on FME HUB. They might do what you need, or at least give you a starting point to work from.

Thanks. I'm using the InspectionCreator Transformer and it works well but it's also pretty basic. My inspections have observations (Questions + Answers) that need to be filled out which require a second call to the API to update the inspections after they re created.