Forum Discussion
Subscription History thru API
Hi TheBanker ,
The SubscriptionHistory API requires the ID parameter, as well as the type parameter, the start and end times of the subscription, and the status and content of the subscription.
This can only be run by a member with the admin role.
Below is the official link will help you:
Develop with the REST APIs for Power BI Report Server - Power BI | Microsoft Learn
Best Regards,
Xianda Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- TheBanker2 years agoFrequent Visitor
Hi Anonymous ,
Thank for your answer.I am used to using the services "/Reports", "/CatalogItems", "/Subscriptions", "/CacheRefreshPlans", "/PowerBIReports"... and I am able to obtain the data I want.
Does SubscriptionHistory require rights other than those which allow me to obtain data from for example the "/Reports" API?
you said "The SubscriptionHistory API requires the ID parameter, as well as the type parameter, the start and end times of the subscription, and the status and content of the subscription."
Are these parameters mandatory?
What I would like to get is simply the subscription history for a specific subscription (eg for SubscriptionID=33b5b19f-9965-47d6-a3ba-19f92f16085a).
Do you have an example of syntax to obtain the history of a subscription please?Thank you
David