<?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: List of reports below a folder API call to SAS VA Viya in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/List-of-reports-below-a-folder-API-call-to-SAS-VA-Viya/m-p/700382#M214335</link>
    <description>&lt;P&gt;Surely the page you are retrieving here contains a list of reports and links?&lt;/P&gt;</description>
    <pubDate>Fri, 20 Nov 2020 01:17:14 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2020-11-20T01:17:14Z</dc:date>
    <item>
      <title>List of reports below a folder API call to SAS VA Viya</title>
      <link>https://communities.sas.com/t5/SAS-Programming/List-of-reports-below-a-folder-API-call-to-SAS-VA-Viya/m-p/699899#M214119</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Is there a simple way to get a list of all raports eg. below a specific folder ? see some of my code below.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hope you have some code you can share.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks in advance.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Here is my code:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%let BASE_URI=%sysfunc(getoption(servicesbaseurl));&lt;BR /&gt;/* Create filename for response */filename rep_id temp;/* Make the request */&lt;BR /&gt;proc http&lt;BR /&gt;oauth_bearer=sas_services method="GET"&lt;BR /&gt;url="&amp;amp;BASE_URI/reports/reports?createdBy=XXXX"&lt;BR /&gt;out=rep_id;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;libname rep_id json;proc print data=rep_id.items noobs label;&lt;/P&gt;&lt;P&gt;label name='Report Name' id='Report Internal ID';&lt;BR /&gt;var name id;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 17:15:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/List-of-reports-below-a-folder-API-call-to-SAS-VA-Viya/m-p/699899#M214119</guid>
      <dc:creator>ANLYNG</dc:creator>
      <dc:date>2020-11-18T17:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: List of reports below a folder API call to SAS VA Viya</title>
      <link>https://communities.sas.com/t5/SAS-Programming/List-of-reports-below-a-folder-API-call-to-SAS-VA-Viya/m-p/700382#M214335</link>
      <description>&lt;P&gt;Surely the page you are retrieving here contains a list of reports and links?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 01:17:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/List-of-reports-below-a-folder-API-call-to-SAS-VA-Viya/m-p/700382#M214335</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-11-20T01:17:14Z</dc:date>
    </item>
  </channel>
</rss>

