You are not logged in.
Dear users of this forum,
we are pleased to inform you that we will be updating the software behind this forum in the near future.
Existing posts, users and categories will remain untouched.
Important:
We will keep you informed in the pinned thread.
Kind regards,
Your ReportServer Team
Liebe Nutzer dieses Forums,
wir freuen uns, euch mitteilen zu können, dass wir in naher Zukunft die Software hinter diesem Forum aktualisieren werden.
Existierende Beiträge, Nutzer und Kategorien bleiben weiterhin bestehen!
Wichtig:
Wir halten euch im angepinnten Beitrag auf dem Laufenden!
Mit vielen Grüßen
Euer ReportServer Team
Hi,
I know that there is a way to execute reports in an API format (https://reportserver.net/en/guides/admi … a-the-URL/) but I have essentially two questions:
- is there any way to modify the schedule for a report, via API?
- if not, is there any library that I can use to change it (scripting), running a script in the API way?
Same for recipients, can I change those ones from API or via script?
Thanks for the support!
DS
Last edited by dannysalazar90 (2021-02-22 16:45:49)
Offline
Hi DS,
you can write a script for this, which may be scheduled periodically or similar, as described here: https://reportserver.net/en/guides/scri … rs/Basics/ 3.2. Executing Scripts via URL
You can see all services available here: https://reportserver.net/api/current/services.html
and entities: https://reportserver.net/api/current/entities.html
You can get the corresponding ReportServerJob https://reportserver.net/api/current/ja … erJob.html and modify it accordingly e.g. using this service: https://reportserver.net/api/current/ja … rvice.html. For changing it you have to save the job into the database e.g. with the merge(AbstractJob job) method.
Same for recipients and any other properties.
Regards,
Eduardo
Offline