Hello,
I Have created a Codeunit wich creates a Report (Posted Invoice PDF) and writes it into a stream to download ...
Within a Page Extension, this works perfectly fine!
But how can i call this codeunit as a webservice api (i want a json return ... base64 for the pdf and a string for the report Name) ?
i am thankful for any help