<?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 DataSource Tables via api in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/DataSource-Tables-via-api/m-p/366097#M4154</link>
    <description>&lt;P&gt;I am trying to get the Table(s) from the datasource via api.&amp;nbsp; I was trying to query first the data source (which is a sharepointlist)&lt;/P&gt;&lt;P&gt;&amp;nbsp;however when i make the following call i get an error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;http://myreportserverreports/api/v2.0/PowerBIReports(Path='/Sfolder1/report1')/datasources - Get Method&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
  "@odata.context":"http://&lt;SPAN&gt;myreportserver&lt;/SPAN&gt;&lt;SPAN&gt;reports&lt;/SPAN&gt;/reports/api/v2.0/$metadata#DataSources","value":[
    {
      "Id":"2b0557f4-7a15-e811-80eb-005056813ac7","Name":null,"Description": ... etc.&lt;/PRE&gt;&lt;P&gt;I then make the following call:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;http://&lt;/SPAN&gt;&lt;SPAN&gt;myreportserver&lt;/SPAN&gt;&lt;SPAN&gt;reports/api/v2.0/PowerBIReports(Path='/S&lt;/SPAN&gt;&lt;SPAN&gt;folder1&lt;/SPAN&gt;&lt;SPAN&gt;/&lt;/SPAN&gt;&lt;SPAN&gt;report1&lt;/SPAN&gt;&lt;SPAN&gt;')/datasources&lt;/SPAN&gt;(2b0557f4-7a15-e811-80eb-005056813ac7)&lt;/P&gt;&lt;P&gt;and i get the following resut:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
  "error":{
    "code":"0","message":""
  }
}&lt;/PRE&gt;&lt;P&gt;My actual question is, can we get the tables used in the Report Query in Pbi Desktop via API, or at least some values so that we cna then use this to integrate the report into Sharepoint?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Feb 2018 11:39:25 GMT</pubDate>
    <dc:creator>Razvan_Irimie</dc:creator>
    <dc:date>2018-02-27T11:39:25Z</dc:date>
    <item>
      <title>DataSource Tables via api</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/DataSource-Tables-via-api/m-p/366097#M4154</link>
      <description>&lt;P&gt;I am trying to get the Table(s) from the datasource via api.&amp;nbsp; I was trying to query first the data source (which is a sharepointlist)&lt;/P&gt;&lt;P&gt;&amp;nbsp;however when i make the following call i get an error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;http://myreportserverreports/api/v2.0/PowerBIReports(Path='/Sfolder1/report1')/datasources - Get Method&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
  "@odata.context":"http://&lt;SPAN&gt;myreportserver&lt;/SPAN&gt;&lt;SPAN&gt;reports&lt;/SPAN&gt;/reports/api/v2.0/$metadata#DataSources","value":[
    {
      "Id":"2b0557f4-7a15-e811-80eb-005056813ac7","Name":null,"Description": ... etc.&lt;/PRE&gt;&lt;P&gt;I then make the following call:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;http://&lt;/SPAN&gt;&lt;SPAN&gt;myreportserver&lt;/SPAN&gt;&lt;SPAN&gt;reports/api/v2.0/PowerBIReports(Path='/S&lt;/SPAN&gt;&lt;SPAN&gt;folder1&lt;/SPAN&gt;&lt;SPAN&gt;/&lt;/SPAN&gt;&lt;SPAN&gt;report1&lt;/SPAN&gt;&lt;SPAN&gt;')/datasources&lt;/SPAN&gt;(2b0557f4-7a15-e811-80eb-005056813ac7)&lt;/P&gt;&lt;P&gt;and i get the following resut:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
  "error":{
    "code":"0","message":""
  }
}&lt;/PRE&gt;&lt;P&gt;My actual question is, can we get the tables used in the Report Query in Pbi Desktop via API, or at least some values so that we cna then use this to integrate the report into Sharepoint?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2018 11:39:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/DataSource-Tables-via-api/m-p/366097#M4154</guid>
      <dc:creator>Razvan_Irimie</dc:creator>
      <dc:date>2018-02-27T11:39:25Z</dc:date>
    </item>
  </channel>
</rss>

