Download orchestrator packages through API Tutorial

Hi, Im trying to make this happen and I cannot find a way…
I tried all:

I test in Postman and I get the tipical weird “��.�71\���” string of a stem array, so IT WORKS, but I cannot convert it to my expected “.nupkg” :smiling_face_with_tear:

I tried with the following workaround:

  1. HTTPRequest (with many variants of body, content type…)

  2. Write Text Activity (with threated steam/string result) saving the response as “.nupkg” file

  3. Then the file is corrupt: “Unexpected end of archive”

Could you help me on this? I want to create+share a WELL EXPLAINED solution to download packages

Here the project template:
project.json (1.5 KB)
DownloadPackage.xaml (8.2 KB)

Thank you so much in advance for your help/suggestions
BIG HUG

@jmedinacarbonell

Only thing you need to do is…fill the name of the attachment or the location plus name in the field filename for response attachments and it would save

image

Header:

Endpoint:
/odata/Processes/UiPath.Server.Configuration.OData.DownloadPackage(key=‘KeyOfPackageOrName’)

Hope this helps

cheers

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.