<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Cache refresh plans and API in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Cache-refresh-plans-and-API/m-p/380995#M4580</link>
    <description>&lt;P&gt;The CachRefreshPlans route does not except a Path argument only and ID for the specific schedule. If you know the report that you want to get the schedules for you use this API:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;http://server/reports/api/v2.0/reports(Path='/reportName')/CacheRefreshPlans&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;that should get you all the schedules associated with that report. If your looking for a specific one you can use OData $filter operation in the URL.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Mar 2018 16:18:06 GMT</pubDate>
    <dc:creator>mgmeyer</dc:creator>
    <dc:date>2018-03-21T16:18:06Z</dc:date>
    <item>
      <title>Cache refresh plans and API</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Cache-refresh-plans-and-API/m-p/332817#M3217</link>
      <description>&lt;P&gt;Is there a way to attache a cache refresh plan to a report with the new REST API? I can see how to upload a report, create a refresh plan, delete existing plans on a report but not how to attach a cache refresh plan to a report?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2018 21:25:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Cache-refresh-plans-and-API/m-p/332817#M3217</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-04T21:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Cache refresh plans and API</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Cache-refresh-plans-and-API/m-p/332882#M3220</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;All available REST APIs&amp;nbsp;are listed on&amp;nbsp;&lt;SPAN&gt;SwaggerHub, including how to create and execute a cache refresh plan, please have a look at below links:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;A href="https://app.swaggerhub.com/apis/microsoft-rs/PBIRS/2.0" target="_self"&gt;Power BI Report Server REST API&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;A href="https://app.swaggerhub.com/apis/microsoft-rs/SSRS/2.0" target="_self"&gt;SQL Server 2017 Reporting Services REST API&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Yuliana Gu&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2018 02:01:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Cache-refresh-plans-and-API/m-p/332882#M3220</guid>
      <dc:creator>v-yulgu-msft</dc:creator>
      <dc:date>2018-01-05T02:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Cache refresh plans and API</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Cache-refresh-plans-and-API/m-p/333102#M3231</link>
      <description>&lt;P&gt;Yes, I know the docs but it is not clear which call to use to associate a refresh plan with a catalog item like a report or dataset?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2018 10:53:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Cache-refresh-plans-and-API/m-p/333102#M3231</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-05T10:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cache refresh plans and API</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Cache-refresh-plans-and-API/m-p/380091#M4540</link>
      <description>&lt;P&gt;Any ideas about this? How does one attach a refresh plan to a report?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 16:11:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Cache-refresh-plans-and-API/m-p/380091#M4540</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-20T16:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Cache refresh plans and API</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Cache-refresh-plans-and-API/m-p/380106#M4543</link>
      <description>&lt;P&gt;You use a POST on this API:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;http://server/reports/api/v2.0/CacheRefreshPlans&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;inside the payload you can specify the CatalogItem you want to associate with the schedule.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 16:24:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Cache-refresh-plans-and-API/m-p/380106#M4543</guid>
      <dc:creator>mgmeyer</dc:creator>
      <dc:date>2018-03-20T16:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Cache refresh plans and API</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Cache-refresh-plans-and-API/m-p/380286#M4558</link>
      <description>&lt;P&gt;Ok, I will try this but the documentation says that the CatalogItemPath in the payload is the path to the "item that represents the CacheRefreshPlan" which is somewhat confusing.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 21:01:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Cache-refresh-plans-and-API/m-p/380286#M4558</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-20T21:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Cache refresh plans and API</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Cache-refresh-plans-and-API/m-p/380977#M4578</link>
      <description>&lt;P&gt;Can you give an example? I cannot get this to work at all, not the PUT/DELETE or POST.&amp;nbsp; The Path seems to want the path of the the plan but it is not clear what this is.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I try:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Invoke-RESTMethod -Uri "$restroot/CacheRefreshPlans(Path='/replib/cache')" -Method DELETE -UseDefaultCredentials&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where /replib/cache is a .rdl report with a cache defined, I just get a 404 error, for example.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2018 15:57:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Cache-refresh-plans-and-API/m-p/380977#M4578</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-21T15:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Cache refresh plans and API</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Cache-refresh-plans-and-API/m-p/380995#M4580</link>
      <description>&lt;P&gt;The CachRefreshPlans route does not except a Path argument only and ID for the specific schedule. If you know the report that you want to get the schedules for you use this API:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;http://server/reports/api/v2.0/reports(Path='/reportName')/CacheRefreshPlans&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;that should get you all the schedules associated with that report. If your looking for a specific one you can use OData $filter operation in the URL.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2018 16:18:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Cache-refresh-plans-and-API/m-p/380995#M4580</guid>
      <dc:creator>mgmeyer</dc:creator>
      <dc:date>2018-03-21T16:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Cache refresh plans and API</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Cache-refresh-plans-and-API/m-p/380997#M4581</link>
      <description>&lt;P&gt;I found the issue - the datasource for the report was misconfigured but the errors dont' mention this. You can't set a cache if the report won't actually run.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2018 16:20:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Cache-refresh-plans-and-API/m-p/380997#M4581</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-21T16:20:05Z</dc:date>
    </item>
  </channel>
</rss>

