When exporting a dashboard via the web app I can see that this is using an API to request/convert the report as a PDF.
Is this possible to do via C#?
I know the export could also be done via the "Actions" of an automation script. But this has some limitations like not be able to change the name after the creation of the report, which is something we want to do, along with some other things.
Is there any documentation on these methods?
Hi Geovanny
Generating a PDF is process with multiple steps, one of which is stitching the different parts together using the ComposePDF call you found. While it is technically possible to create all these steps yourself using a custom script, I would not recommend it. It would require spinning up a headless browser and advanced knowledge of the files that are generated.
You can find documentation on all API methods at https://DMAIP/API/v1/Internal.asmx?op=ComposePDF. Note that this API contains all internal methods, which are always subject to change.