Skip to main content
Question

Retrieve data download url


Forum|alt.badge.img

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.

3 replies

lars_de_vries
Forum|alt.badge.img+10

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


jneujens
Forum|alt.badge.img
  • March 21, 2018

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'.


jneujens
Forum|alt.badge.img
  • March 28, 2018
jneujens wrote:

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?

 

 


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