Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Microsoft Dataverse Web API – Retrieve File Content

It must be very simple, but I can’t figure out out how to retrieve a File content from a Microsoft Dataverse table.

I have a table called quotes. This table has a column of type File "cra7f_ficheiropricing" to which I have previously uploaded a file. Using Postman, I want to retrieve the content of the file as a binary file.

In the following, I was able to filter the quote I wanted (record of the table), the results are bellow.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

I have tried the
Official Documentation but without success.

>Solution :

Have you checked this out?

https://docs.microsoft.com/en-us/powerapps/developer/data-platform/file-attributes

Example: REST download with chunking

HTTP Request

GET [Organization URI]/api/data/v9.1/accounts(id)/myfileattribute/$value
Headers:
Range: bytes=0-1023/8192

HTTP Response

206 Partial Content
Body: byte[]

So if I get this correctly, you’d have to try this in your concrete case:

 GET [Organization URI]/api/data/v9.1/quotes(-your-guid-here-)/cra7f_ficheiropricing/$value
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading