Skip to main content
Solved

Is there a ServiceRequest Creator transformer for FME Cityworks Integration

  • February 14, 2019
  • 2 replies
  • 46 views

bhanu_v
Forum|alt.badge.img

Im new to FMe and Cityworks and came across this blog

New FME Tools for Cityworks Integrations

and curious to know if there is a custom transformer that creates a service request that reads data from an xml file

Also can this be done in FME Desktop without FME server

Best answer by nathanatsafe

Hi @adi, welcome to FME and thanks for your question!

 

 

We do not currently have a custom transformer built to specifically create a service request. However, it should not be very difficult to modify the WorkOrderCreator to create service requests rather than work orders. The steps needed would be as follows:

 

 

1) Verify your Cityworks REST API documentation for creating a service request.

2) Update the request URL in the HTTPCaller to fit the service request endpoint.

3) Modify the query parameters based on the data you need to send with the service request.

Since FME can read XML and manipulate its contents, you can send data from an XML file with your API call to Cityworks. This can all be done in FME Desktop without FME Server. FME Server simply allows this kind of workflow to be shared, managed, and automated - whether that is with a schedule or in response to an event.

I hope that helps. Let me know if you have any further questions.

 

Best,

Nathan

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

nathanatsafe
Safer
Forum|alt.badge.img+9
  • Safer
  • 284 replies
  • Best Answer
  • February 19, 2019

Hi @adi, welcome to FME and thanks for your question!

 

 

We do not currently have a custom transformer built to specifically create a service request. However, it should not be very difficult to modify the WorkOrderCreator to create service requests rather than work orders. The steps needed would be as follows:

 

 

1) Verify your Cityworks REST API documentation for creating a service request.

2) Update the request URL in the HTTPCaller to fit the service request endpoint.

3) Modify the query parameters based on the data you need to send with the service request.

Since FME can read XML and manipulate its contents, you can send data from an XML file with your API call to Cityworks. This can all be done in FME Desktop without FME Server. FME Server simply allows this kind of workflow to be shared, managed, and automated - whether that is with a schedule or in response to an event.

I hope that helps. Let me know if you have any further questions.

 

Best,

Nathan


bhanu_v
Forum|alt.badge.img
  • Author
  • 30 replies
  • February 19, 2019

Hi @adi, welcome to FME and thanks for your question!

 

 

We do not currently have a custom transformer built to specifically create a service request. However, it should not be very difficult to modify the WorkOrderCreator to create service requests rather than work orders. The steps needed would be as follows:

 

 

1) Verify your Cityworks REST API documentation for creating a service request.

2) Update the request URL in the HTTPCaller to fit the service request endpoint.

3) Modify the query parameters based on the data you need to send with the service request.

Since FME can read XML and manipulate its contents, you can send data from an XML file with your API call to Cityworks. This can all be done in FME Desktop without FME Server. FME Server simply allows this kind of workflow to be shared, managed, and automated - whether that is with a schedule or in response to an event.

I hope that helps. Let me know if you have any further questions.

 

Best,

Nathan

Hello @NathanAtSafe,

Thank you for your reply, I have downloaded the Cityworks related workspaces from the hub and will play around with it to get an idea of how the custom transformer works .

will probably prick your brain again

Thank you

adi