Transferring data from Business Central Tables through API is one of the latest version of transferring data from or to Business Central using the API Page Objects or Web Services.
Well, it gets a little difficult to transfer file blobs using the Media.ReadLinks and Media.EditLinks JSON field.
Source : OLISTERR.TECH
In this video I show four examples of how to use streams to get data in and out of blob fields:
Source : Hougaard.com
I started collecting some code pieces that I find myself using often on Github. The first example is emailing Sales Invoices as PDF using a stream without saving the report into the file system.
Bron : Marcellus Nav Blog