Forum Discussion

trygger's avatar
trygger
Frequent Visitor
3 years ago

Rest API for Power BI report server

Hi,

 

I am trying to figure out how to use the GET CacheRefreshPlans({Id}) command from: https://app.swaggerhub.com/apis/microsoft-rs/SSRS/2.0#/

What should be used as ID? On Swaggerhub it says: The key (GUID or path) that uniquely identifies the object.
GUID example: 01234567-89ab-cdef-0123-456789abcdef
path example: path='/folder1/folder2/item'
If the path itself contains single quote, it should be escaped - add another single quote


I dont quite understand what this means and what type of unique identifier that should be used ,

1 Reply

  • Hi. It's the Cache Refresh Plan ID. It usually looks like this: 

    "Id": "01234567-89ab-cdef-0123-456789abcdef"

    The reqeuest ask for the specific one to get its data. If you don't know the CacheRefreshPlanID of a dataset you can request it with /DataSets({Id})/CacheRefreshPlans

    That will respond with the plan of the dataset that you can add one the request expected.

    I hope that make sense