Request Form Attachments Download

Hi, 

We have a request form in Wrike, which is being used to get data with attachments. It has lots of responses (from multiple users with multiple submits) and sometimes difficult to download all attachments in one go. So is there any way to get them all either using API or other option in Wrike.

Thanks in advance

0
5 Kommentare
Spot On Innovative Approach Stellar Advice

Hi Sajid Yousaf, let me suggest several methods you can use to download attachments from Wrike.

  1. It's possible to download files in the Files View. You can mass select all the attachments and download them to your local storage. One important thing I'd like to mention is that this option will not associate your files with a certain project.
  2. You may perform a Full account backup and export all the attachments from your account.
  3. Using GET call to attachments endpoint, you can download attachments one by one or create links for attachment from Wrike (you will need withUrls​ parameter for that). For instance, this call will help you generate links to all the attachments in a specific task:

Hope it helps. Feel free to ask if any additional questions come up🙌

Lisa K. Community Team at Wrike Wrike Product Manager Erfahren Sie mehr über Wrikes leistungsstarke Funktionen und lernen Sie Anwendungsbeispiele kennen

Lisa K. Wrike Team member Erfahren Sie mehr über Wrikes leistungsstarke Funktionen und lernen Sie Anwendungsbeispiele kennen

0
Spot On Innovative Approach Stellar Advice

Hi Lisa,

Thanks for your kind support. Regarding GET call to the API ( as mentioned in the third solution), can you please guide me how to find task ID for a "Request Form".

I have tried to using the ID in permalink but it doesn't work and I get the following message in Postman:

{

"errorDescription": "Invalid Task ID",

"error": "invalid_request"

}

Thanks a lot,

Sajid

0
Spot On Innovative Approach Stellar Advice

Hi Sajid Yousaf, thank you for trying my suggestions. To make calls while working with API integrations, you should use the task's API ID. The easiest way to get the required API ID is via GET/tasks and task's permalink (id=479201871 in your case):

Let me know if there is anything else we can help you with☺️

Lisa K. Community Team at Wrike Wrike Product Manager Erfahren Sie mehr über Wrikes leistungsstarke Funktionen und lernen Sie Anwendungsbeispiele kennen

Lisa K. Wrike Team member Erfahren Sie mehr über Wrikes leistungsstarke Funktionen und lernen Sie Anwendungsbeispiele kennen

0
Spot On Innovative Approach Stellar Advice

Hi Lisa,

Thanks for being so helpful. 

Well, to be honest it would have been much easier if we could make an API call like this:

https://www.wrike.com/api/v4/tasks/479201871

Finding tasksID through an API call using Permalink parameter adds an additional step. But I believe that's how it is designed.

Although the Files View option works well and serves my need but I am still confused, how to download all attachments in a folder using an API call.

Thanks a lot,

Sajid

0
Spot On Innovative Approach Stellar Advice

Hi Sajid Yousaf, I'm happy to hear that Files view works for you. It's convenient to use and straightforward, while API might require specific technical knowledge.

As for API calls, I understand that it would be easier to use workspace IDs, but the current logic is designed to ensure data security during API calls execution. The system populates API-specific IDs for the items that are being processed via API queries. These IDs are assigned by a separate algorithm and cannot be generated in the workspace.

If you would like to download attachments of a Folder with API call, please try the steps below:

  1. Use GET/folders call to find out the API Folder ID of the relevant item.
  2. Perform GET/folders/{folderId}/attachments call with the additional parameter?withUrls=true to extract links to download attachments.

Please note that the links for attachments are valid for 24 hours from when you make the request. Additionally, the call will give you links to files added directly to the folder only. There is also a separate call for tasks (GET/tasks/{taskId}/attachments) which I've mentioned in the first reply.

Also, it's possible to download each attachment separately with[GET]/attachments/{attachmentId}/download. You can find the attachment ID in the response of the GET/attachments or GET/folders/{folderId}/attachments calls. More information can be found here.

Thank you for your interest in our platform. Please don't hesitate to post on the Community if you have any other questions😌

Lisa K. Community Team at Wrike Wrike Product Manager Erfahren Sie mehr über Wrikes leistungsstarke Funktionen und lernen Sie Anwendungsbeispiele kennen

Lisa K. Wrike Team member Erfahren Sie mehr über Wrikes leistungsstarke Funktionen und lernen Sie Anwendungsbeispiele kennen

0

Folllowing List for Post: Request Form Attachments Download
[this list is visible for admins and agents only]

Nach oben
Didn’t find what you were looking for? Write new post