Skip to main content
Question

Attach the result file of an ETL to a response body when triggering a job on the server with REST API

  • March 16, 2023
  • 1 reply
  • 11 views

kristian.a
Contributor
Forum|alt.badge.img

Hey.

I am trying to implement a REST logic to one of my etl's. I have few parameters where i input data. For example a string where the user should input a WKT or GeoJSON geometry. We are passing this parameter to the ETL with the REST Api service, we are manipulating the geometry and i want to print out the resulted geometry in GeoJSON or WKT format in the response body of the etl.

Right now i am getting a response that contains only the job details but no results.

1 reply

virtualcitymatt
Celebrity
Forum|alt.badge.img+35

Take a look at the DataStreaming Service or the DataDownload services. https://docs.safe.com/fme/html/FME_Server_Documentation/ReferenceManual/transformation_svcs.html

 

These don't use the FME Server REST API but are separate services on FME Server which are available via REST. The Data Streaming will return the content of a chosen writer as the response. The DataDownload will Return a zip file containing the file(s) from selected writers.

 

Cheers

Matt


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