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)?


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 ​

View original
Did this help you find an answer to your question?

3 replies

danilo_fme
Evangelist
Forum|alt.badge.img+45
  • Evangelist
  • 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

@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
  • March 15, 2021
markatsafe wrote:

@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.


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