Hello,
I have getting the surveyid from a previous script (not included).
and I am able to execute the script below but, I am unable to replace the surveyID by it macro variable .
Does someone know how to do that ?
%let SurveyID=SV*************MwSAyrGK;
options set=SSLREQCERT="allow";
filename rsp temp;
proc http
url="https://ca1.qualtrics.com/API/v3/responseexports/"
method= "POST"
in='{"format" : "csv","surveyId" : "SV******QMwSAyrGK"}'
out=rsp;
headers
'x-api-token'= &Api_Token.
'Content-Type'='application/json';
run;
But I would like to replace the value of the surveyid by a macro variable for safety purpose and automation.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.