Let's Reconnect, thank you for making 2022 our best year yet.

Look Back
How to access uploaded from REST API — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to access uploaded from REST API

Accepted answer
3
Views
4
Comments
edited Jun 7, 2022 1:23PM in General Technical Discussions 4 comments

Summary:

I can get a hold of a uploaded file name from a web application (REST). Need to save it on another server.

Content (required):

I can get a hold of a uploaded file name from a web application (REST). Need to save it on another server.

So i have a .NET / C# console application. I can access the file name through this resource:

...../xxxxxxxx.org/services/rest/connect/latest/incidents/201927/fileAttachments/48111

As part of the JSON response, i get "fileName": "Biobank Adult ICF.pdf",

So, in the scope of the application (while still logged in as an OSvC user), is there a way to grab a hold of the actual PDF file so that I may save it to a local resource or a FTP server?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!