Solved

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

  • 12 March 2021
  • 3 replies
  • 8 views

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!😀

icon

Best answer by danilo_fme 13 March 2021, 01:11

View original

3 replies

Userlevel 4
Badge +30

Hi @​zanzibarjack

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

Thanks,

Danilo ​

Badge +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​ 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.

Reply