Hello FME community,
I’m developing a FME service that needs to process a JSON object, uses this JSON as upload body in a HTTPCaller that returns a ZIP file and emails the user a download link to the returned ZIP file.
What is working is a POST to datadownload service with a JSON upload body and the email as request parameter:
With a subscription at the DATADOWNLOAD_ASYNC_JOB_SUCCESS topic I retrieve the desired mail with the download location using this template:
https://<fmeserver>/fmedatadownload/results/{@getFileName(OutputLocation)}
However, a developer asked me whether it is possible to integrate the request email in the POST body. Therefore I looked at the FME REST API and tried to POST it to:
https://<fmeserver>/fmerest/v3/transformations/submit/Samples/WritingZip.fmw, with upload body:
With the Email Template Keywords I couldn’t retrieve the download location anymore. Do you have any idea how I can retrieve the download location through the FME REST API or have another solution?
I have looked at posts of other dealing with a similar issue, however without a satisfying answer.
Kind regards,
GeoJan