Skip to main content

After running a workspace download service I cant find how to get the download url in my custom web application.

 

 

Starting the workspace: GET to http://server/fmedatadownload/repo/workspace.fmw

 

Getting transformation status: GET to http://server/fmerest/v2/transformations/jobs/id/" . $id

 

But then finally, how do I get the download link to display in my app? It does deliver with email and there it appears just as expected.

According to the documentation, a URL will be provided in the response elements. You should include this link in your custom web application.


What is the the point doing there when you call '$id'? Seems unnecessary to me?

There are multiple ways to get the 'resultDatasetDownloadUrl' parameter using REST services.

Can you try to use http://server/fmerest/v3/transformations/jobs/id/<id> (use v3 instead of v2)?

 

That should work fine... Have you checked that the data download package is actually created?

Otherwise, http://server/fmerest/v3/transformations/jobs/id/<id>/result shoud also give you the 'resultDatasetDownloadUrl'.


What is the the point doing there when you call '$id'? Seems unnecessary to me?

There are multiple ways to get the 'resultDatasetDownloadUrl' parameter using REST services.

Can you try to use http://server/fmerest/v3/transformations/jobs/id/<id> (use v3 instead of v2)?

 

That should work fine... Have you checked that the data download package is actually created?

Otherwise, http://server/fmerest/v3/transformations/jobs/id/<id>/result shoud also give you the 'resultDatasetDownloadUrl'.

giskis, is your problem solved?

 

 


Reply