BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
ANLYNG
Pyrite | Level 9

Is there a simple way to get a list of all raports eg. below a specific folder ? see some of my code below.

 

Hope you have some code you can share.

 

Thanks in advance.

 

Here is my code:

 

%let BASE_URI=%sysfunc(getoption(servicesbaseurl));
/* Create filename for response */filename rep_id temp;/* Make the request */
proc http
oauth_bearer=sas_services method="GET"
url="&BASE_URI/reports/reports?createdBy=XXXX"
out=rep_id;
run;

libname rep_id json;proc print data=rep_id.items noobs label;

label name='Report Name' id='Report Internal ID';
var name id;
run;

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisNZ
Tourmaline | Level 20

Surely the page you are retrieving here contains a list of reports and links?

View solution in original post

1 REPLY 1
ChrisNZ
Tourmaline | Level 20

Surely the page you are retrieving here contains a list of reports and links?

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 904 views
  • 1 like
  • 2 in conversation