Skip to main content
Question

Retrieve data download url

  • March 5, 2018
  • 3 replies
  • 216 views

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

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
  • 189 replies
  • 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
  • 189 replies
  • March 28, 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'.

giskis, is your problem solved?